Open thanhlangso opened 3 years ago
Hi, I had the same problem. How did you set up your Prometheus? I'm using the kube-prometheus-stack and realized, that prometheus is not scraping the kafka metrics by default, because there is no service monitor. https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#prometheusioscrape
I fixed it in my case by adding a service monitor for the services I wanted to be scraped. (kafka and zookeepers)
I have deploy this helm chart on my k8s on-premise. for kafka, I have setup done and working fine. But I can't get monitor metrics with prometheus and grafana. I setup kafka with namespace is: kafka and prometheus & grafana namespace is: monitoring But I can't get metrics. Can you help me?