Skip to content

Commit

Permalink
Merge pull request #1022 from antrema/1020-monitor-agent-crds-and-doc
Browse files Browse the repository at this point in the history
fix: missing CRD entries and documentation #1020
  • Loading branch information
benjaminhuo authored Dec 16, 2023
2 parents a16e101 + 8c381c8 commit 0741603
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,34 @@ spec:
description: The @log_level parameter specifies the plugin-specific
logging level
type: string
monitorAgent:
description: monitor_agent plugin
properties:
bind:
description: The bind address to listen to.
type: string
emitInterval:
description: The interval time between event emits. This
will be used when "tag" is configured.
format: int64
type: integer
includeConfig:
description: You can set this option to false to remove
the config field from the response.
type: boolean
includeRetry:
description: You can set this option to false to remove
the retry field from the response.
type: boolean
port:
description: The port to listen to.
format: int64
type: integer
tag:
description: If you set this parameter, this plugin emits
metrics as records.
type: string
type: object
sample:
description: in_sample plugin
properties:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,34 @@ spec:
description: The @log_level parameter specifies the plugin-specific
logging level
type: string
monitorAgent:
description: monitor_agent plugin
properties:
bind:
description: The bind address to listen to.
type: string
emitInterval:
description: The interval time between event emits. This
will be used when "tag" is configured.
format: int64
type: integer
includeConfig:
description: You can set this option to false to remove
the config field from the response.
type: boolean
includeRetry:
description: You can set this option to false to remove
the retry field from the response.
type: boolean
port:
description: The port to listen to.
format: int64
type: integer
tag:
description: If you set this parameter, this plugin emits
metrics as records.
type: string
type: object
sample:
description: in_sample plugin
properties:
Expand Down
28 changes: 28 additions & 0 deletions config/crd/bases/fluentd.fluent.io_clusterinputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,34 @@ spec:
description: The @log_level parameter specifies the plugin-specific
logging level
type: string
monitorAgent:
description: monitor_agent plugin
properties:
bind:
description: The bind address to listen to.
type: string
emitInterval:
description: The interval time between event emits. This
will be used when "tag" is configured.
format: int64
type: integer
includeConfig:
description: You can set this option to false to remove
the config field from the response.
type: boolean
includeRetry:
description: You can set this option to false to remove
the retry field from the response.
type: boolean
port:
description: The port to listen to.
format: int64
type: integer
tag:
description: If you set this parameter, this plugin emits
metrics as records.
type: string
type: object
sample:
description: in_sample plugin
properties:
Expand Down
28 changes: 28 additions & 0 deletions config/crd/bases/fluentd.fluent.io_inputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,34 @@ spec:
description: The @log_level parameter specifies the plugin-specific
logging level
type: string
monitorAgent:
description: monitor_agent plugin
properties:
bind:
description: The bind address to listen to.
type: string
emitInterval:
description: The interval time between event emits. This
will be used when "tag" is configured.
format: int64
type: integer
includeConfig:
description: You can set this option to false to remove
the config field from the response.
type: boolean
includeRetry:
description: You can set this option to false to remove
the retry field from the response.
type: boolean
port:
description: The port to listen to.
format: int64
type: integer
tag:
description: If you set this parameter, this plugin emits
metrics as records.
type: string
type: object
sample:
description: in_sample plugin
properties:
Expand Down
2 changes: 1 addition & 1 deletion docs/plugins/fluentd/input/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Input defines all available input plugins and their parameters
| tail | in_tail plugin | *Tail |
| sample | in_sample plugin | *Sample |
| customPlugin | Custom plugin type | *custom.CustomPlugin |
| monitor_agent | monitor_agent plugin | *MonitorAgent |
| monitorAgent | monitor_agent plugin | *MonitorAgent |

0 comments on commit 0741603

Please sign in to comment.