Hi, thanks for your answer. That is a label name with mistake, I know this
is an error but is a metric supplied by third parts software, so I can't
modify it. I'm looking a way to exclude it from federation process..... how
can do it?
thanks!


Il giorno lun 25 mag 2020 alle ore 21:34 Julien Pivotto <
[email protected]> ha scritto:

> On 25 May 12:22, Fabio Marzotti wrote:
> > Hi, I need to exclude all labels containing an error name. For example
> > those starting with '3scale'.
> > This in order to avoid this error during federation phase:
> >
> > "prometheus       | level=warn ts=2020-05-25T18:15:57.094907355Z
> > caller=scrape.go:867 component="scrape manager" scrape_pool=yyyyyyyyyyyy
> > target="
> https://xxxxxxxxx:443/federate?match%5B%5D=%7B__name__%3D~%22.%2B%22%7D";
> > msg="append failed" err="expected label name, got \"INVALID\""
> >
> > May be is the match phase in  any case after federation process and then
> > I'll get the same error ??
>
>
> As per https://prometheus.io/docs/concepts/data_model/,
> metric names must match regex [a-zA-Z_:][a-zA-Z0-9_:]*
> and therefore must not start with a number.
>
> regards,
>
>
> >
> > Thanks for the support,
> >
> > Fabio
> >
> >
> >
> >
> > --
> > 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/3ccfa579-360e-4b56-b7a6-8aae153315fe%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/CAEZQCtvJQvF6aQsU2pvQXYN6Ce5O-NsibXHF72MootcBMUCWXw%40mail.gmail.com.

Reply via email to