ЛР6: OpenTelemetry, Collector, Prometheus/Loki/Tempo, Grafana, SLO и алерты, инциденты

This commit is contained in:
kalibr456
2026-11-01 21:25:38 +03:00
parent 470d9d6f1e
commit 79ef8807d5
156 changed files with 18393 additions and 35 deletions
+9
View File
@@ -0,0 +1,9 @@
# telemetry-history: lab6: traces/logs/metrics survive restart of prometheus/loki/tempo (volumes)
# date: 2026-11-01 20:09:51, commit: 470d9d6 + uncommitted changes
# command: python.exe student-tests/test_telemetry.py history
# exit code: 0, 38.6 s
before restart: trace 0b9106c1057e9753186aec51b529946b found, its log found, sum(http_server_request_duration_seconds_count{job="messenger-api"}) at t-30s = 434
after restart of prometheus, loki, tempo: trace 0b9106c1057e9753186aec51b529946b (4 spans), 1 log record(s), metric at t-30s = 434 (same value)
PASS: persistent volumes keep traces, logs and metrics across restarts of the stores
1 passed, 0 failed