kafka_metrics

metrics
 

Collect Kafka metrics. For other metrics from Kafka, have a look at the JMX exporter.

Consume lag metrics is not supported yet, and this feature not enabled by default in Kafka exporter.

Example

# A comma-separated list of host and port pairs that are the addresses of
# the Kafka brokers in a "bootstrap" Kafka cluster that a Kafka client
# connects to initially ot bootstrap itself.
#
# Required
bootstrap_servers: 
- 127.0.0.1:9092

# This sources collects metrics on an interval.
#
# Optional
interval: 15s

# Regex that determines which topics to collect.
#
# Optional
topic_filter: .*