ЛР6: OTel SDK, Collector, Prometheus/Loki/Tempo, Grafana, alerts, dashboard, тесты инцидентов

This commit is contained in:
2026-11-16 22:14:42 +03:00
commit e617ce2caa
87 changed files with 8695 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
global:
scrape_interval: 10s
evaluation_interval: 10s
rule_files:
- /etc/prometheus/alert-rules.yml
scrape_configs:
# Метрики от OTel Collector (он в формате Prometheus на :8889).
- job_name: otel-collector
static_configs:
- targets: ['otel-collector:8889']
# Сам Prometheus — для наблюдения за собой.
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']