Open yakneens opened 5 years ago
Hi
we use the prometheus chart from the stable repository (stable/prometheus). The image jimmidyson/configmap-reload
is used there to create dynamically the scrape configuration. The annotation "prometheus/scrape: true" is already set by this chart.
For example: https://github.com/confluentinc/cp-helm-charts/blob/master/charts/cp-kafka/templates/statefulset.yaml#L26
annotation is not work on prometheus. Only servicemonitor
I've been trying to follow the documentation to get kafka monitoring via prometheus and grafana working. Kafka is working, prometheus is working, grafana is working, but the prometheus configurations that actually scrape the kafka metrics such that the grafana dashboard would work are missing. Without the scrape configuration prometheus does not scrape the JMX metrics exposed by kafka, zookeeper, etc.