Complete lab 6 OpenTelemetry observability stack

This commit is contained in:
2026-11-20 21:09:24 +03:00
parent ac2d74b74a
commit 8c59734bd2
13 changed files with 188 additions and 25 deletions
+11
View File
@@ -0,0 +1,11 @@
# Observability cost experiment
Run the same synthetic load for each mode and record `docker stats`, request latency percentiles and backend ingest volume:
```text
MODE=off python tests/load.py --duration 60 --concurrency 8
MODE=on OTEL_SAMPLING_RATIO=1.0 python tests/load.py --duration 60 --concurrency 8
MODE=0.1 OTEL_SAMPLING_RATIO=0.1 python tests/load.py --duration 60 --concurrency 8
```
The expected decision is to retain full metrics and error signals, while using 0.1 trace sampling for normal traffic and temporarily raising it to 1.0 during an incident. Measurements must be repeated on the same host and resource limits.