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/410d4240-2f08-510b-3a75-49be47cd77b9%40Jahingo.com.

