Thank you. So this requires a separate scrape job per target? Or an external proxy to add the bearer token via a table lookup?
On Monday, 5 July 2021 at 15:30:26 UTC+1 Julien Pivotto wrote: > On 05 Jul 07:05, Brian Candler wrote: > > Suppose I have a bunch of hosts I want to poll, but with different > bearer > > tokens. > > > > Is there a rewrite variable I can use for this, similar to __scheme__, > > __address__ and __metrics_path__? > > Hello, > > > There is none, since labels are not considered secrets. > > > > > > > -- > > 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/998c372b-f736-4754-9c5e-2b2284ae1cdfn%40googlegroups.com > . > > > -- > Julien Pivotto > @roidelapluie > -- 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/a1e4fc61-ace8-4d3f-96c7-609073245cc3n%40googlegroups.com.

