confluentinc / cp-helm-charts

The Confluent Platform Helm charts enable you to deploy Confluent Platform services on Kubernetes for development, test, and proof of concept environments.
https://cnfl.io/getting-started-kafka-kubernetes
Apache License 2.0
787 stars 846 forks source link

Grafana Dashboards - No Data #445

Open smcaine opened 4 years ago

smcaine commented 4 years ago

Hi,

I have deployed this chart in to k8s cluster 1.16.11 today (tested and got same results on 1.15.*)

I have run through the steps provided in the repo README, all tests and returned results successfully.

I can access the control-center service ui and see everything healthy and all metrics.

I cant do this in prometheus, i can see a lot of metrics but when i check whats in the dashboards none of them are the same. So i dont get any data in the grafana dashboard: https://github.com/confluentinc/cp-helm-charts/blob/master/grafana-dashboard/confluent-open-source-grafana-dashboard.json

michaelswierszcz commented 4 years ago

bump

azhang commented 3 years ago

I think you have to manually add scrapers or ServiceMonitor (in prometheus-operator) for it to work

anragen commented 3 years ago

Add ServiceMonitor for example on namespace demo

apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: labels: app: cp-kafka # or any other labels name: kafka-connect spec: selector: matchLabels: # select the Kafka Service release: demo-kafka # or any other selector namespaceSelector: matchNames: