Is that the full config? I'm not seeing a Service Discovery
section (e.g. Kubernetes or file based) to tell Prometheus where
to scrape from.
-- Stuart Clark
I'm using prometheus-operator. It only allows loading addionalScrapeConfigs 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