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>
22 lines
647 B
Plaintext
Generated
22 lines
647 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
|
|
tls_config:
|
|
ca_file: /etc/prometheus/certs/0_default_tls_ca
|
|
cert_file: /etc/prometheus/certs/0_default_tls_cert
|
|
key_file: /etc/prometheus/certs/0_default_tls_private-key
|
|
http_sd_configs:
|
|
- tls_config:
|
|
insecure_skip_verify: true
|
|
ca_file: /etc/prometheus/certs/0_default_tls_ca2
|
|
url: http://localhost:9100/sd.json
|
|
relabel_configs:
|
|
- source_labels:
|
|
- job
|
|
target_label: __tmp_prometheus_job_name
|