mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
In #6667, we forgot to support the new runtime configuration for the PrometheusAgent CRD. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
21 lines
499 B
Plaintext
Generated
21 lines
499 B
Plaintext
Generated
global:
|
|
scrape_interval: 30s
|
|
external_labels:
|
|
prometheus: default/test
|
|
prometheus_replica: $(POD_NAME)
|
|
evaluation_interval: 30s
|
|
scrape_configs:
|
|
- job_name: scrapeConfig/default/testscrapeconfig1
|
|
basic_auth:
|
|
username: scrape-bob
|
|
password: scrape-alice
|
|
http_sd_configs:
|
|
- basic_auth:
|
|
username: http-sd-bob
|
|
password: http-sd-alice
|
|
url: http://localhost:9100/sd.json
|
|
relabel_configs:
|
|
- source_labels:
|
|
- job
|
|
target_label: __tmp_prometheus_job_name
|