forked from mtusi2026/mtusi2026lab6
Добавить наблюдаемость и проверки отказов для ЛР 6
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
global:
|
||||
scrape_interval: 3s
|
||||
scrape_timeout: 2s
|
||||
evaluation_interval: 3s
|
||||
|
||||
rule_files: [/etc/prometheus/alerts.yaml]
|
||||
|
||||
scrape_configs:
|
||||
- job_name: messenger
|
||||
honor_labels: true
|
||||
static_configs:
|
||||
- targets: [otel-collector:9464]
|
||||
- job_name: otel-collector
|
||||
static_configs:
|
||||
- targets: [otel-collector:8888]
|
||||
Reference in New Issue
Block a user