kanban-app/infrastructure/monitoring/prometheus.yml

21 lines
421 B
YAML
Raw Permalink Normal View History

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'backend'
static_configs:
- targets: ['backend:5000']
metrics_path: '/metrics'
- job_name: 'postgres'
static_configs:
- targets: ['postgres:9187']
- job_name: 'redis'
static_configs:
- targets: ['redis:6379']
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']