lab6: OTel collector, Prometheus/Loki/Tempo, Grafana dashboard

This commit is contained in:
2026-11-19 20:24:23 +03:00
parent 470d9d6f1e
commit 258013b2d6
55 changed files with 2381 additions and 40 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
: "${TARGET_INSTANCE_ID:?}"
case "$TARGET_INSTANCE_ID" in
api-1) SVC=api1 ;;
api-2) SVC=api2 ;;
*) echo "unknown instance alias: $TARGET_INSTANCE_ID" >&2; exit 1 ;;
esac
docker compose --env-file .env stop "$SVC"