mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-16 09:16:38 +00:00
In #6667, we forgot to support the new runtime configuration for the PrometheusAgent CRD. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
24 lines
571 B
Text
Generated
24 lines
571 B
Text
Generated
global:
|
|
scrape_interval: 30s
|
|
external_labels:
|
|
prometheus: default/test
|
|
prometheus_replica: $(POD_NAME)
|
|
evaluation_interval: 30s
|
|
scrape_configs:
|
|
- job_name: scrapeConfig/default/testscrapeconfig1
|
|
consul_sd_configs:
|
|
- oauth2:
|
|
client_id: client-id
|
|
client_secret: client-secret
|
|
token_url: http://test.url
|
|
scopes:
|
|
- scope 1
|
|
- scope 2
|
|
endpoint_params:
|
|
param1: value1
|
|
param2: value2
|
|
server: localhost:8500
|
|
relabel_configs:
|
|
- source_labels:
|
|
- job
|
|
target_label: __tmp_prometheus_job_name
|