Five-percent sampling for a distributed tracing fleet
Ninety-six services emit 300 spans per second each. The team is evaluating a 5% tracing sample rate at an average of 780 bytes per span.
Jump to resultsInputs
Results
Runs in your browser- 30-day ingest
- 2.911TB
- Active metric series
- 0
- Monthly telemetry bill
- $580.33/ month
The bill combines 30 days of ingest with the steady-state retained volume. Rates use decimal GB.
| Log ingest | 0 GB |
|---|---|
| Metric ingest | 0 GB |
| Trace ingest | 2.911 TB |
| Metric sample rate | 0 samples/s |
| 14-day retained volume | 1.359 TB |
| Ingest avoided by sampling | 55.315 TB |
| Savings from sampling | $11,026.19 / month |
| Log ingestion cost | $0.00 / month |
| Metric ingestion cost | $0.00 / month |
| Trace ingestion cost | $553.15 / month |
| Retained data cost | $27.17 / month |
What to try
A 5% sample leaves roughly 2.91 TB/month under a uniform-size assumption. Compare the observed post-policy span size before pricing a tail sampler that favors errors.
How the estimate works
Metric samples per second = active series ÷ scrape interval
The 30-day ingest estimate multiplies per-source signal rates by the number of sources. Logs and traces are sampled before ingestion. Metrics use active series × bytes per sample ÷ scrape interval.
Retained bytes equal the post-sampling daily ingest times the retention days, assuming steady traffic and equal billed and retained bytes. A separate retained-data rate applies to this steady-state volume.
Sampling savings compare the same workload at 100% log and trace capture. Prices use decimal GB. Adjust the byte sizes to match the meter you pay for. Cardinality-based tiers and cross-region duplication need separate charges.
Frequently asked questions
Does sampling five percent of traces always retain five percent of spans?
Random sampling can approach that share on average. Tail policies may favor long traces with more spans, so measure the kept span and byte rates.
Should sidecars and collectors be counted as tracing sources too?
Count each original span once at your billing boundary. Collectors that forward the same spans do not automatically create extra unique span volume.