ЛР 6: observability OpenTelemetry/Grafana

This commit is contained in:
2026-11-17 17:13:25 +03:00
parent 470d9d6f1e
commit 7a57ae41f4
45 changed files with 3300 additions and 33 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
: "${TARGET_INSTANCE_ID:?test provides target API instance alias}"
case "$TARGET_INSTANCE_ID" in
api1|api2) ;;
*)
printf '%s\n' "unknown TARGET_INSTANCE_ID: $TARGET_INSTANCE_ID" >&2
exit 1
;;
esac
docker compose --env-file .env stop "$TARGET_INSTANCE_ID"