In order to split metrics for different namespaces, we need to add a variable for namespace, then update each query to use the variable for kubernetes_namespace in the prometheus query.how to achieve this.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to use Grafana variables in a promql query count_values("__label_name__", __metric__) | 1 | 3457 | August 27, 2021 | |
Using metric variable in query | 0 | 473 | May 3, 2021 | |
Full query support when creating variable? | 0 | 3155 | July 18, 2018 | |
Grafana mixes namespaces from different data sources | 2 | 4380 | November 4, 2021 | |
Grafana only detects the namespace/node where the prometheus server is located | 0 | 916 | September 20, 2022 |