Prometheus Exporter
An output plugin to expose Prometheus Metrics
Last updated
An output plugin to expose Prometheus Metrics
Last updated
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 |
---|---|---|
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"
host
This is address Calyptia Fluent Bit will bind to when hosting prometheus metrics. Note: listen
parameter is deprecated from v1.9.0.
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