Hello Team,
How to add additionalScrapeConfigs into prometheus using helm chart prometheus-community/prometheus.
Adding “Testing_1.yaml”:
- job_name: “Testing_1”
static_configs:- targets: [“localhost:9090”]
helm upgrade --set-file extraScrapeConfigs=“Testing_1.yaml” prometheus prometheus-community/prometheus
Second Time, When i try to add the additional Scrape Configs, it overrides the first scrape configs.
Adding “Testing_2.yaml”:
- job_name: “Testing_2”
static_configs:- targets: [“localhost:9090”]
So only the latest Scrape Configs added is working reflected.
How to append the additional scrape configs into the existing scrape configs ?
Thanks!!