This sounds like a `label="$var"` vs `label=~"$var"` issue. Grafana sometimes formats the variable as a regexp, so you need to use `=~` for it to work.
On Tue, Aug 4, 2020 at 6:52 AM Pavan Vasisht <[email protected]> wrote: > Hi, > > Using the helm(*Version:"v3.2.4", > GitCommit:"0ad800ef43d3b826f31a5ad8dfbb4fe05d143688"*) - stable/prometheus > <https://github.com/helm/charts/tree/master/stable/prometheus> was > configuring *external_label* so that this can be used as > parameter(drop-down value) to filter in grafana dashbaord. The > external_label is getting propagated across all the metrics. Manually > setting the label and fetching metrics works, but the label when tried to > set as variable, no luck. > Please refer the github issue which I had raised for Grafana > <https://github.com/grafana/grafana/issues/26764>, as per the suggestion > asking here. > > Some backgroud - > Using thanos side car within prometheus server to push the metrics to s3 > bucket and fetching the stored metrics into grafana via thanos querier. > > Thanks > Pavan > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/be329a82-8681-4450-989d-402126f2bf97o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/be329a82-8681-4450-989d-402126f2bf97o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmpVfkLBrz7DMgJZsGj9z%2Bb5LYqfTPvoaEZrigUQF3Vm2Q%40mail.gmail.com.

