| global: | |
| scrape_interval: 15s | |
| evaluation_interval: 15s | |
| alerting: | |
| alertmanagers: | |
| - static_configs: | |
| - targets: [] | |
| rule_files: | |
| - /etc/prometheus/rules/*.yml | |
| scrape_configs: | |
| - job_name: 'prometheus' | |
| static_configs: | |
| - targets: ['localhost:9090'] | |
| - job_name: 'ml_intern_api' | |
| static_configs: | |
| - targets: ['api:8000'] | |
| metrics_path: /metrics | |
| scrape_interval: 10s | |
| - job_name: 'nginx' | |
| static_configs: | |
| - targets: ['nginx:80'] | |
| metrics_path: /stub_status | |
| scrape_interval: 15s | |
| - job_name: 'postgres' | |
| static_configs: | |
| - targets: ['postgres:5432'] | |
| scrape_interval: 30s | |
| - job_name: 'redis' | |
| static_configs: | |
| - targets: ['redis:6379'] | |
| scrape_interval: 30s | |