Skip to content

probabilisticsamplerprocessor: should sampling.priority drop Spans #10438

Answered by jpkrohling
shawnsong asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, I'm not sure I understand it. Are you saying that this processor isn't dropping spans with sampling.priority=0? Can you share your config and a couple of spans, with your expectation on what should happen to them? Or better yet, can you create a unit test demonstrating the problem? The suite does seem to have tests covering this case, but I'm really interested in this if you can provide a reproducer.

name: "must_not_sample",
cfg: &Config{
ProcessorSettings: config.NewProcessorSettings(config.NewComponentID(typeStr)),
SamplingPer…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shawnsong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants