Prometheus Exporter
An output plugin to expose Prometheus Metrics
The prometheus exporter allows you to take metrics from Calyptia Fluent Bit and expose them such that a Prometheus instance can scrape them.
Important Note: The prometheus exporter only works with metric plugins, such as Node Exporter Metrics
Key | Description | Default |
---|---|---|
host | This is address Calyptia Fluent Bit will bind to when hosting prometheus metrics. Note: | 0.0.0.0 |
port | This is the port Calyptia Fluent Bit will bind to when hosting prometheus metrics | 2021 |
add_label | This allows you to add custom labels to all metrics exposed through the prometheus exporter. You may have multiple of these fields |
Getting Started
The Prometheus exporter only works with metrics captured from metric plugins. In the following example, host metrics are captured by the node exporter metrics plugin and then are routed to prometheus exporter. Within the output plugin two labels are added app="fluent-bit"
and color="blue"
Last updated