Prometheus/Grafana- how to generate data points for all pods?

4/10/2019

I've deployed Prometheus and Grafana via helm by issuing the following command.

helm install --name prom --namespace monitoring  stable/Prometheus-operator

I've managed to use kubectl to port forward to grafana, and I can view the interface just fine.

However, most of my pods are not generating any data points. I've tried re-deploying the workloads as I figured maybe that was necessary for Prometheus to start picking up the metrics. I can select the pods in the workloads in Grafana drop-down menus so they are being detected, but they are not generating any data points or populating the graphs.

What do I need to do to make this happen?

Thanks in advance.

-- nmh
grafana
kubernetes
prometheus

0 Answers