global:
  scrape_interval: 10s
  
alerting:
  alertmanagers:
    - static_configs:
      - targets:
        - alertmanager:9093

rule_files:
- /etc/prometheus/rules.yml

scrape_configs:
- job_name: web-apps
  scrape_interval: 10s
  static_configs:
  - targets:
    - web:8000
    
- job_name: node-exporter
  static_configs:
  - targets:
    - node-exporter:9100

