Complete lab 6 OpenTelemetry observability stack
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user