prometheus-community compatibility #7742
Replies: 2 comments
-
Strimzi provides several things:
In general, you can use these with any Grafana and Prometheus installation regardless of the installation method. But I'm afraid we cannot provide a detailed support how to do it for all the different ways how to deploy and configure them. So you might need to figure that out or ask in the appropriate community. |
Beta Was this translation helpful? Give feedback.
-
When using the prometheus community helm chart, use these configurations in the extraScrapeConfigs parameter:
There is no service for kafka exporter, so a possibility is to create a service manually like:
The first job_name 'kafka-exporter' extract the kafka-exporter service. The second job_name 'kafka-strimzi-pods' extract all pods in the kafka-strimz namespace, only in the 9404 ports, and get the metadata for kubernetes labeling in prometheus, labels what will be variables in grafana. The target_label is exactly the same name as the variables of grafana templates. It is not possible to extract the metrics of brokers, zookeepers, connectors and cruise control through the service as done in kafka-exporter, because the label of prometheus is needed at the pod level, and if you try in the service, the labels are missing. This worked perfectly for me. I think it would be interesting, if possible, to add this example for the prometheus community helm chart in the documentation, to make it more complete. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
If I want to have to install prometheus provided by the community, is there any way I can configure kafka related dashboard?
https://prometheus-community.github.io/helm-charts
Beta Was this translation helpful? Give feedback.
All reactions