ЛР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
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
# Demo hook for the defense: stop or start the worker without touching volumes.
# scripts/worker.sh stop | start | status
set -eu
cd "$(dirname "$0")/.."
case "${1:-}" in
stop) docker compose stop worker ;;
start) docker compose up -d --wait --no-recreate --no-build --no-deps worker ;;
status) docker compose ps worker ;;
*) echo "usage: $0 stop|start|status" >&2; exit 2 ;;
esac