Configuration

global:
  scrape_interval: 10s
  scrape_timeout: 5s
  evaluation_interval: 10s
  external_labels:
    environment: emis
rule_files:
- /etc/prometheus/rules/*.rules
scrape_configs:
- job_name: demo
  honor_timestamps: true
  scrape_interval: 10s
  scrape_timeout: 5s
  metrics_path: /demo/api/metrics
  scheme: http
  static_configs:
  - targets:
    - localhost:8100
  basic_auth:
    username: admin-emis
    password: <secret>