I'm using prometheus-operator. It only allows loading addionalScrapeConfigs 
<https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/additional-scrape-config.md>
 to 
append to the end of the config file. The other config jobs were added as 
part of loading prometheus-operator. I'm not sure I can change those.
On Monday, February 20, 2023 at 3:07:25 PM UTC-8 Stuart Clark wrote:

> On 20/02/2023 22:33, Jihui Yang wrote:
> > I think these metrics are being scraped from another job. What I want 
> > is to drop any scraped metrics with names match the regex I provided
> Then you need to add the relabel config to that other job.
>
> -- 
> 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/1e691810-a17f-4651-bb44-1dda3f96bf8fn%40googlegroups.com.

Reply via email to