global:
  scrape_interval: 30s
  external_labels:
    prometheus: default/test
    prometheus_replica: $(POD_NAME)
  evaluation_interval: 30s
scrape_configs:
- job_name: probe/default/testprobe1
  honor_timestamps: true
  metrics_path: ""
  static_configs:
  - targets:
    - 127.0.0.1
    labels:
      namespace: default
  relabel_configs:
  - source_labels:
    - job
    target_label: __tmp_prometheus_job_name
  - source_labels:
    - __address__
    target_label: __param_target
  - source_labels:
    - __param_target
    target_label: instance
  - target_label: __address__
    replacement: ""
  - source_labels:
    - __param_target
    - __tmp_hash
    target_label: __tmp_hash
    regex: (.+);
    replacement: $1
    action: replace
  - source_labels:
    - __tmp_hash
    target_label: __tmp_hash
    modulus: 1
    action: hashmod
  - source_labels:
    - __tmp_hash
    - __tmp_disable_sharding
    regex: $(SHARD);|.+;.+
    action: keep
  oauth2:
    client_id: test_client_id
    client_secret: test_client_secret
    token_url: http://test.url
    scopes:
    - scope 1
    - scope 2
    endpoint_params:
      param1: value1
      param2: value2
    proxy_url: http://no-proxy.com
    no_proxy: 0.0.0.0
    proxy_from_environment: false
    proxy_connect_header:
      header:
      - value
    tls_config:
      insecure_skip_verify: true
      ca_file: /etc/prometheus/certs/0_default_tls_ca2
