global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'fastapi'
static_configs:
- targets: ['web:8000']
- job_name: 'postgres'
static_configs:
- targets: ['db:5432']
- job_name: 'elasticsearch'
static_configs:
- targets: ['elasticsearch:9200']
- job_name: 'kafka'
static_configs:
- targets: ['kafka:9092']