prometheus-community / helm-charts

Prometheus community Helm charts
Apache License 2.0
5k stars 4.99k forks source link

[kube-prometheus-stack] Kubernetes / Networking / Namespace (Workload) grafana dashboard Status panel shows an error #4856

Open mbasha86 opened 1 week ago

mbasha86 commented 1 week ago

Describe the bug a clear and concise description of what the bug is.

Kubernetes / Networking / Namespace (Workload) grafana dashboard Current Status's panel shows an error for kube-system namespace only

Screenshot 2024-09-11 at 12 16 38 PM

I think this is related to the metric expression in query browser. This was working in previous versions i.e 58.5.3 using below example of metric expression i.e:

sort_desc(sum(irate(container_network_receive_bytes_total{cluster="$cluster",namespace="$namespace"}[$interval:$resolution])
* on (namespace,pod)
group_left(workload,workload_type) namespace_workload_pod:kube_pod_owner:relabel{cluster="$cluster",namespace="$namespace", workload=~".+", workload_type=~"$type"}) by (workload))

What's your helm version?

Flux version 2.3.0

What's your kubectl version?

1.29.4

Which chart?

prometheus-kube-stack

What's the chart version?

62.6.0

What happened?

While upgrading [prometheus-kube-stack] helm chart from 53.0.0 to 62.6.0 i found this issue in that Kubernetes / Networking / Namespace (Workload) dashboard.

What you expected to happen?

fix the issue

How to reproduce it?

1- Install the helm chart in k8s clusters along with garafana. 2- Then, login to grafana dashboard url 3- Select Kubernetes / Networking / Namespace (Workload) dashboard -> Select kube-system namespace 4- Current Status panel shows an error

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

Nothing

Anything else we need to know?

No response

CiucurDaniel commented 5 days ago

Having the same issue, looking forward to fix.