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?
On Monday, February 20, 2023 at 3:21:48 PM UTC-8 Stuart Clark wrote: > On 20/02/2023 23:14, Jihui Yang wrote: > > 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. > > The other jobs are probably from PodMonitor & ServiceMonitor objects, so > you'd need to adjust those. > > -- > 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/0ee9a62a-8178-4990-854c-0487aa0d054dn%40googlegroups.com.

