ЛР6: наблюдаемость, SLO и диагностика отказов

This commit is contained in:
2026-11-16 21:07:01 +03:00
parent 470d9d6f1e
commit 8a96df4a74
217 changed files with 15534 additions and 34 deletions
+9
View File
@@ -0,0 +1,9 @@
$ErrorActionPreference = 'Stop'
$ids = docker compose ps -q
$before = docker inspect --format '{{.Name}} {{.State.StartedAt}}' $ids
$before | Set-Content evidence/restart-before.txt
docker compose restart db redis minio broker api worker dispatcher lb otel-collector prometheus loki tempo grafana
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
$ids = docker compose ps -q
$after = docker inspect --format '{{.Name}} {{.State.StartedAt}}' $ids
$after | Set-Content evidence/restart-after.txt