On 21/02/2023 17:29, Jihui Yang wrote:
I didn't find a way to adjust those. If I append scrape config jobs to the end of the config file, they should be able to overwrite existing job right?

No. Job configurations are self contained. So metrics scraped by a particular job will have any relabelling rules applied for that particular job only. The only way you can set relabelling rules for a job is by editing the job config. For the Prometheus Operator this is done by adjusting the PodMonitor/ServiceMonitor objects.

--
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/523da4f7-4772-b333-1c5d-2e78f345e305%40Jahingo.com.

Reply via email to