lab6_files

This commit is contained in:
caramelteawithmint
2026-12-04 19:16:26 +03:00
parent 20afc2c790
commit 4f21a985f7
38 changed files with 2115 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
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"]