Hi,
I have almost the same problem.
I have two Traefik instances. The metrics of those two are
going to one prometheus instance. In prometheus.yml, I have
defined two jobs under the scrape_config and now in grafana I
want to separate the services that coming from Traefik-A from
the services coming from Traefik-B.I tried to use dependent variables as below:
label_values(up, instance)
label_values(up{instance="$instance"}, service)
But it doesn't show the proper values but "none"! I tried other combinations but no luck.
You guys have any idea?
Thanks