Reputation: 21
I have Grafana dashboard which shows logs. I created some variables variables
How can I define the dependences between them in order to when I select one namespace in Namespace area (variable), Grafana shows only containers in selected namespace (which satisfy only selected namespace)
Upvotes: 1
Views: 1749
Reputation: 1631
You can find some relevant log and change the label_values to something like this:
label_values(kube_pod_container_info{namespace="$namespace"}, container)
the above line will make the container filter to depend on the namespace
Upvotes: 1