Files
mtusi2026lab2/openspec/specs/lab6-observability-cost/spec.md
T

18 lines
954 B
Markdown

# lab6-observability-cost Specification
## Purpose
TBD - created by archiving change measure-lab6-observability-cost. Update Purpose after archive.
## 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