Beware that "job" is a reserved label name in Prometheus; it is only
supposed to be used for the name of the scrape job which obtained the
metric. You can overwrite it, but it's at your own peril.
On Thursday, 9 February 2023 at 06:31:30 UTC+1 Daz Wilkin wrote:
> Perhaps:
>
> - source_labels: [job]
> target_label: job
> regex: LOW-003-MK_[a-z]{3}
> replacement: LOW-003-MK-node-exporter
>
> You can plug the above into https://relabeler.promlens.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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/6d8a1d44-c1e1-4e4a-a9bd-7020eedc1b2bn%40googlegroups.com.