This check monitors Fluent Bit metrics through the Datadog Agent. For sending logs to Datadog with Fluent Bit, see the Fluent Bit documentation to learn about the Datadog Fluent Bit output plugin.
Fluent Bit doesn't expose its internal metrics by default. You need to enable the built-in HTTP server that exposes the metrics endpoint.
[SERVICE]
http_server on
See the official documentation for more information.
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.
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.
-
Edit the
fluentbit.d/conf.yaml
file, in theconf.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.
Run the Agent's status subcommand and look for fluentbit
under the Checks section.
See metadata.csv for a list of metrics provided by this check.
The Fluent Bit integration does not include any events.
The Fluent Bit integration does not include any service checks.
Need help? Contact Datadog support.