Add reproducible observability cost modes and external measurements

This commit is contained in:
Artyom
2026-11-06 21:22:38 +03:00
parent 20e7759f87
commit 202b985dea
16 changed files with 624 additions and 8 deletions
@@ -0,0 +1,11 @@
## ADDED Requirements
### Requirement: Reproducible cost comparison
The system SHALL support SDK off/on, head and tail sampling and a verified balanced configuration, measured under the same open-loop workload with raw latency, external CPU/RAM, ingest and span-loss evidence.
#### Scenario: Three repeat rounds
- **WHEN** the cost driver runs all five modes in three sequential rounds
- **THEN** each run records actual requests, resources, ingest counters and retained normal/error/slow traces without fabricating missing observations
### Requirement: Disabled experimental faults
Controlled error and slow hooks SHALL be opt-in and SHALL NOT affect default requests.
#### Scenario: Ordinary deployment
- **WHEN** the experiment setting is false
- **THEN** experiment headers cannot inject failure or delay