lab6: добавить наблюдаемость и закрыть критерии оценки 5
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
rule_files:
|
||||
- /etc/prometheus/alerts.yml
|
||||
|
||||
scrape_configs:
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ["localhost:9090"]
|
||||
- job_name: otel-collector
|
||||
static_configs:
|
||||
- targets: ["otel-collector:8888"]
|
||||
- job_name: messenger-otel
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets: ["otel-collector:8889"]
|
||||
Reference in New Issue
Block a user