Hi,

External labels are "invisible" in the respective Prometheus itself and
only get attached whenever Prometheus sends samples or alerts to some
external system (like a remote_write destination or Alertmanager). Thanos
also uses external labels for identifying Prometheus servers. So it's
normal that you won't be able to see external labels in the local data of a
Prometheus server itself.

Regards,
Julius

On Thu, Mar 4, 2021 at 3:55 PM dc3o <delne...@gmail.com> wrote:

> In first Prometheus instance:
>
> global:
>  external_labels:
>    origin_prometheus: prometheus01
>
> second instance:
>
> global:
>  external_labels:
>    origin_prometheus: prometheus02
>
> Is it expected for label origin_prometheus to be accessible in each
> timeseries? When I execute a query in prom webui I'm not seeing any of
> these labels appear in response. I would like to use these labels as a
> variables for particular Grafana dashboard.
>
> --
> 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 prometheus-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/e7c41d9c-272c-41fe-bc29-2abacbeb39bfn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/e7c41d9c-272c-41fe-bc29-2abacbeb39bfn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Julius Volz
PromLabs - promlabs.com

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAObpH5xYh-hp8_JYo0uSg9%3Dwt272AkugFoD7wubtKQtJUFEn0Q%40mail.gmail.com.

Reply via email to