# Tail-based sampling

**URL:** <https://discuss.elastic.co/t/tail-based-sampling/316177>\
**Category:** APM\
**Tags:** docker, server\
**Created:** [October 10, 2022, 6:34am UTC](https://discuss.elastic.co/t/tail-based-sampling/316177 "2022-10-10T06:34:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shuai\_Yuan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shuai_yuan/32/106699_2.png) [@Shuai\_Yuan](https://discuss.elastic.co/u/Shuai_Yuan)\
**Post date:** [October 10, 2022, 6:34am UTC](https://discuss.elastic.co/t/tail-based-sampling/316177/1 "2022-10-10T06:34:56Z")

</div>

Hi there,

I'm using elastic and kibana version 8.4.2, and enabled tail-based sampling in the integration policy, also enabled trial on full features in my local (I'm using docker container for kibana) , so I'm expecting the tail-based sampling will just take effect after I saved integration policy.

But I have tried to change the sampling policy list many times, can see none of them is actually taking effect, I can still see all my traces even when I set sample rate to 0. So what should I do for that to work?

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 7, 2022, 6:35am UTC](https://discuss.elastic.co/t/tail-based-sampling/316177/2 "2022-11-07T06:35:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
