grafana / helm-charts

Apache License 2.0
1.67k stars 2.28k forks source link

How to Fix __auto Showing Instead of Pod Names in Grafana Dashboards After Updating Grafana? #3375

Open genieai-vikas opened 1 month ago

genieai-vikas commented 1 month ago

I recently updated the Grafana and kube-prometheus-stack Helm chart, and now in my Grafana dashboards, I'm seeing __auto instead of the actual pod names in the legend. This is happening across all dashboards that are using Prometheus queries for Kubernetes metrics.

Image

Here’s an example of one of the queries:

sum(rate(container_network_receive_bytes_total{cluster="$cluster", namespace="$namespace"}[$__rate_interval])) by (pod) And the legend format is set to __auto.

How do I update the dashboards to display the correct pod names instead of __auto?

Is there a way to bulk update the legend formatting across all Grafana dashboards, or should I update each dashboard manually? Any other configuration steps I might be missing?

Environment: Grafana Version: 8.5.8 Any help would be appreciated!

Things I’ve tried: