global:
  scrape_interval: 30s
  external_labels:
    prometheus: default/test
    prometheus_replica: $(POD_NAME)
  evaluation_interval: 30s
scrape_configs:
- job_name: scrapeConfig/default/testscrapeconfig1
  openstack_sd_configs:
  - role: instance
    region: region-1
    identity_endpoint: http://identity.example.com:5000/v2.0
    username: nova-user-1
    password: password
    domain_name: devops-project-1
    refresh_interval: 30s
    port: 9100
  relabel_configs:
  - source_labels:
    - job
    target_label: __tmp_prometheus_job_name
