global:
  scrape_interval: 15s
  evaluation_interval: 15s

scrape_configs:
  - job_name: 'app'
    metrics_path: /prometheus/metrics
    scheme: http
    static_configs:
      - targets: [ 'app:8000' ]

  - job_name: 'worker'
    static_configs:
      - targets: [ 'worker:8888' ]

  - job_name: 'database'
    static_configs:
      - targets: [ 'database_exporter:9187' ]

  - job_name: 'redis'
    static_configs:
      - targets: [ 'redis_exporter:9121' ]

  - job_name: 'elasticsearch'
    static_configs:
      - targets: [ 'elasticsearch_exporter:9114' ]
