Tail Sampling Tuning

Configure and tune tail-based sampling in an OpenTelemetry collector tier so errors and slow traces survive while volume drops: size decision_wait and num_traces from measured trace duration and arrival rate, route each trace to one sampler by trace id, order policies (errors, slow, named tenants, a small probabilistic share), watch the dropped-too-early self-metric, record the sampling ratio, and compute RED metrics before the sampler. Use this skill whenever traces arrive incomplete after sampling, a collector runs out of memory with tail_sampling, or someone says "tail sampling keeps dropping traces", "keep all errors and 1% of the rest" or "our trace bill is too high". Not for choosing head versus tail as a principle (instrumentation), a broken collector pipeline in general (collector-backpressure-triage), or a trace with missing parents (broken-trace-hunt).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 249bb4a661

Frequently asked questions

npx get-skill add greenblacked/tail-sampling-tuning