-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[processor/tailsamplingprocessor] documentation to drop trace #34145
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
You can set an "invert" match: if a trace has a span with a specific attribute value for a given attribute, it would normally yield a "Sample" decision. An inverted match would yield a "Not Sample" decision. |
Thank you for the explanation. However I still couldn't understand the explanation in the docs:
There's "inverted sample" mentioned. This is contradictory to your explanation:
From how I understand the docs, there could be 4 policy outcome:
CMIIW |
I think both are right:
Here's an example from the docs:
In this case, if the URL contains |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
processor/tailsampling
Describe the issue you're reporting
In tailsampling readme there is no mention on how to drop a trace. What I understand from this part is that each policy will result in either "sample" or "not sample" decision. However, there is also no mention how to create a "not sample" decision.
How can I drop a certain trace? e.g. match the trace using
string_attribute
and drop the matched trace. Initially I thought this could be done using filter processor. However, as stated in #31355 filter processor can only drop span and not the entire trace.The text was updated successfully, but these errors were encountered: