Labs
Each lab takes under an hour on a laptop and turns a claim from this mechanism into a number you measured yourself.
- 1
Counter vs. gauge under lost scrapes
A counter and a spiky gauge scraped every 15 s and 60 s with 30% of scrapes lost, over 200 simulated hours.
SimulatePython - 2
Merge histograms vs. average p99
Ten servers with very different traffic: average of their p99s, the true p99, and the p99 from merged histogram buckets.
SimulatePython with NumPy - 3
Count your series
A prometheus_client endpoint: series per metric against label cardinalities, then one label with 10,000 values added.
MeasurePython with prometheus_client - 4
Head vs. tail sampling
100,000 traces, 1% errors: error traces kept by 1% head sampling and by tail sampling, and the tail sampler's buffer at 1 s and 30 s traces.
SimulatePython - 5
Find the false green in your own pipeline
An hourly job starts receiving empty files: job-status alert, freshness check and volume band, and how long each takes to notice.
SimulatePython - 6
Base-rate simulation of alerting
A million checks with a 1-in-1,000 incident rate and a perfect-recall detector at four false-positive rates: pages and precision.
SimulatePython