b692ce7af1
This patch adds support for integrating Prometheus with Fluentd. This can be used to extract useful information about the status of Fluentd, such as output buffer capacity and logging rate, and also to extract metrics from logs via custom Fluentd configuration. More information can be found here in [1]. [1] https://docs.fluentd.org/monitoring-fluentd/monitoring-prometheus Change-Id: I233d6dd744848ef1f1589a462dbf272ed0f3aaae
15 lines
262 B
Django/Jinja
15 lines
262 B
Django/Jinja
<source>
|
|
@type prometheus
|
|
bind {{ api_interface_address }}
|
|
port {{ prometheus_fluentd_integration_port }}
|
|
metrics_path /metrics
|
|
</source>
|
|
|
|
<source>
|
|
@type prometheus_output_monitor
|
|
interval 10
|
|
<labels>
|
|
Hostname ${hostname}
|
|
</labels>
|
|
</source>
|