Replies: 2 comments 2 replies
-
The best way to achieve "tail based" sampling is to do it at collector level. There might already be some collector extensions for this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
What will be the pros to have it on the collector level? I can see some cons:
Thanks in advance for your thoughts. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is any way for example to use a
TraceIdRatioBased
with 0.5 but to always sampleActivity
withError
orUnset
status?For example I have an worker which is creating a lot of activates and I need only 50% of the successful ones but I want 100% of the error ones.
I think out of the box there is no way, because sampling is processed on creation of the activity, but I thought to an approach where the activity could be dropped in a custom processor.
Would this be a reliable solution?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions