Configuration

global:
  scrape_interval: 30s
  scrape_timeout: 25s
  evaluation_interval: 30s
  external_labels:
    monitor: codelab-monitor
scrape_configs:
- job_name: prometheus
  scrape_interval: 30s
  scrape_timeout: 25s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - prometheus:9090
- job_name: http-responses
  scrape_interval: 30s
  scrape_timeout: 25s
  metrics_path: /metrics
  scheme: http
  static_configs:
  - targets:
    - 0x23.de:8081
    - mailgw02.trustbills.com:8080
    - http-responder:8081
    - 35.160.128.234:8080
  basic_auth:
    username: prometheus
    password: <secret>