| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
-
- rule_files:
- - "alert_rules.yml"
-
- alerting:
- alertmanagers:
- - static_configs:
- - targets:
- - alertmanager:9093
-
- scrape_configs:
- - job_name: 'prometheus'
- static_configs:
- - targets: ['localhost:9090']
-
- - job_name: 'water-management-apps'
- static_configs:
- - targets:
- - wm-gateway:8081
- - wm-base:8082
- - wm-iot:8083
- - wm-data-engine:8084
- - wm-bpm:8085
- - wm-production:8086
- - wm-revenue:8087
- - wm-patrol:8088
- - wm-bi:8089
- - wm-notify:8090
- - wm-job:8091
- metrics_path: /actuator/prometheus
- scrape_interval: 30s
- scrape_timeout: 10s
-
- - job_name: 'postgres'
- static_configs:
- - targets: ['postgres:5432']
-
- - job_name: 'redis'
- static_configs:
- - targets: ['redis:6379']
-
- - job_name: 'kafka'
- static_configs:
- - targets: ['kafka:9092']
-
- - job_name: 'elasticsearch'
- static_configs:
- - targets: ['elasticsearch:9200']
|