From ac05df691053da4194fadcb7b3a5ff4457903ccb Mon Sep 17 00:00:00 2001 From: Josh Baird Date: Fri, 27 Oct 2023 14:31:05 -0400 Subject: [PATCH] Add docs. Signed-off-by: Josh Baird --- docs/plugins/fluentd/input/monitor_agent.md | 13 +++++++++++++ docs/plugins/fluentd/input/types.md | 1 + 2 files changed, 14 insertions(+) create mode 100644 docs/plugins/fluentd/input/monitor_agent.md diff --git a/docs/plugins/fluentd/input/monitor_agent.md b/docs/plugins/fluentd/input/monitor_agent.md new file mode 100644 index 000000000..f09134588 --- /dev/null +++ b/docs/plugins/fluentd/input/monitor_agent.md @@ -0,0 +1,13 @@ +# MonitorAgent + +The in_monitor_agent Input plugin exports Fluentd's internal metrics via REST API. + + +| Field | Description | Scheme | +| ----- | ----------- | ------ | +| port | The port to listen to. | *int64 | +| bind | The bind address to listen to. | *string | +| tag | If you set this parameter, this plugin emits metrics as records. | *string | +| emitInterval | The interval time between event emits. This will be used when \"tag\" is configured. | *int64 | +| includeConfig | You can set this option to false to remove the config field from the response. | *bool | +| includeRetry | You can set this option to false to remove the retry field from the response. | *bool | diff --git a/docs/plugins/fluentd/input/types.md b/docs/plugins/fluentd/input/types.md index 75e3e9b30..b85a7429d 100644 --- a/docs/plugins/fluentd/input/types.md +++ b/docs/plugins/fluentd/input/types.md @@ -19,3 +19,4 @@ Input defines all available input plugins and their parameters | http | in_http plugin | *Http | | tail | in_tail plugin | *Tail | | sample | in_sample plugin | *Sample | +| monitorAgent | monitor_agent plugin | *MonitorAgent |