# Overall rate limiting with \`spans\_per\_second\` across multiple \`tail\_sampling\` policies

**URL:** <https://discuss.elastic.co/t/overall-rate-limiting-with-spans-per-second-across-multiple-tail-sampling-policies/382444>\
**Category:** Elastic Observability\
**Created:** [October 6, 2025, 12:53pm UTC](https://discuss.elastic.co/t/overall-rate-limiting-with-spans-per-second-across-multiple-tail-sampling-policies/382444 "2025-10-06T12:53:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brevity](https://avatars.discourse-cdn.com/v4/letter/b/4da419/32.png) [@brevity](https://discuss.elastic.co/u/brevity)\
**Post date:** [October 6, 2025, 12:53pm UTC](https://discuss.elastic.co/t/overall-rate-limiting-with-spans-per-second-across-multiple-tail-sampling-policies/382444/1 "2025-10-06T12:53:42Z")

</div>

I’m trying to introduce an overall rate limit on our span ingestion, to avoid high error rates (which we normally want to sample at 1.0) elsewhere taking down the monitoring system as well. `spans_per_second` seems to be exactly what I want, but for the `tail_sampling` processor it seems that `spans_per_second` needs to be part of every existing policy, of which 1) there are a lot and 2) I’d like an overall limit applied after the other policies are evaluated.

Is there some clever way to do this after other policies are applied? Or is there a similar option in another part of the stack that I could use instead?
