...
Code Block | ||||
---|---|---|---|---|
| ||||
[[inputs.prometheus]] urls = ["http://kafka-exporter.kafka:9100/metrics"] response_timeout = "10s" |
You can also include metrics from your Kafka bridge by adding the following line to the bridge spec: enableMetrics: true
Note: It is also possible to obtain JMX metrics using jolokia (GitHub - paksu/kafka-jolokia-telegraf-collector: Simple Kafka broker JMX metric collection with Telegraf) but this requires creating a custom a custom kafka cluster image if you are using Strimzi.
...