This is meant to happen at discovery time in the prometheus.yml. On Tue, Jan 25, 2022 at 10:08 AM ritesh patel <[email protected]> wrote:
> I want to add tag to metrics polled from telegraf to Prometheus. Like > cpu_usage_system cpu_usage_guest are original name of metrics but want to > add some tag so using that tag can setup alerts. > > On Fri, 21 Jan 2022, 4:39 pm Stuart Clark, <[email protected]> > wrote: > >> On 2022-01-21 10:35, ritesh patel wrote: >> > Hello Team, >> > >> > How I can add common tags on metrics? >> > Any idea how this can be achievable? >> > >> >> You can add labels via relabling, but in general that is not advised. >> What are you trying to achieve? >> >> -- >> Stuart Clark >> > -- > 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/CAPxUNF_7KVxtRJifxekJj2cRYhS2kLT41FnZWjy0VeJLWmZn9A%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAPxUNF_7KVxtRJifxekJj2cRYhS2kLT41FnZWjy0VeJLWmZn9A%40mail.gmail.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/CABbyFmovmDpGqUWYMd%3D3yATk-9P3s9-Bqt1jar16P-aTJsVd1Q%40mail.gmail.com.

