このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Overview
This check monitors Fluent Bit metrics through the Datadog Agent. To send logs to Datadog with Fluent Bit and to learn about the Datadog Fluent Bit output plugin, see the Fluent Bit documentation.
Fluent Bit configuration
Fluent Bit doesn’t expose its internal metrics by default. You need to enable the built-in HTTP server that exposes the metrics endpoint.
See the official documentation for more information.
Setup
Follow the instructions below to install and configure this check for an Agent running on a host. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
Installation
For Agent v7.21+ / v6.21+, follow the instructions below to install the Fluent Bit check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.
Run the following command to install the Agent integration:
datadog-agent integration install -t datadog-fluentbit==<INTEGRATION_VERSION>
Configure your integration similar to core integrations.
Configuration
Edit the fluentbit.d/conf.yaml
file, in the conf.d/
folder at the root of your Agent’s configuration directory to start collecting your fluentbit performance data.
init_config:
instances:
## @param metrics_endpoint - string - required
## The URL to Fluent Bit internal metrics per loaded plugin in Prometheus format.
#
- metrics_endpoint: http://127.0.0.1:2020/api/v1/metrics/prometheus
See the sample fluentbit.d/conf.yaml file for all available configuration options.
Restart the Agent.
Validation
Run the Agent’s status subcommand and look for fluentbit
under the Checks section.
Data Collected
Metrics
fluentbit.input.records.count (count) | Number of records processed by the input. Shown as entry |
fluentbit.input.bytes.count (count) | Number of bytes processed by the input. Shown as byte |
fluentbit.filter.add_records.count (count) | Number of records added by the filter. Shown as entry |
fluentbit.filter.drop_records.count (count) | Number of records dropped by the filter. Shown as entry |
fluentbit.output.proc_records.count (count) | Number of records processed by the output. Shown as entry |
fluentbit.output.proc_bytes.count (count) | Number of bytes processed by the output. Shown as byte |
fluentbit.output.errors.count (count) | Number of errors in the output. Shown as error |
fluentbit.output.retries.count (count) | Number of retries in the output. Shown as attempt |
fluentbit.output.retries_failed.count (count) | Number of abandoned batches because the maximum number of retries was reached. Shown as error |
fluentbit.output.retried_records.count (count) | Number of records retried by the output. Shown as entry |
fluentbit.output.dropped_records.count (count) | Number of records dropped by the output. Shown as entry |
fluentbit.build_info (gauge) | Value is always 1. Release version and type are included as tags. |
Events
The Fluent Bit integration does not include any events.
Service Checks
The Fluent Bit integration does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.
Further Reading
Additional helpful documentation, links, and articles: