4 grade_and_report

This commit is contained in:
caramelteawithmint
2026-11-27 14:03:46 +03:00
parent d8b193f62b
commit b41a645ec3
12 changed files with 280 additions and 182 deletions
+12 -5
View File
@@ -2,16 +2,23 @@ global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
- "alerts.yml"
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "otel-collector"
static_configs:
- targets: ["otel-collector:8889"]
- job_name: "api"
metrics_path: /metrics
static_configs:
- targets: ["api1:8080", "api2:8080"]
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- targets: ["api1:8080", "api2:8080"]