ConsistentRateLimitingSampler #353
Unanswered
itsmaneesh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can you please clarify the below queries regarding Consistent Rate Limiting Sampler:
ConsistentSampler rateLimited(double targetSpansPerSecondLimit, double adaptationTimeSeconds)
method signature, Can you please clarify paramtargetSpansPerSecondLimit
- Does it hold the max number of spans to be sampled or max number of traces to be sampled per second limit?adaptationTimeSeconds
param, what is the purpose of this param?For e.g.: If my service request (trace) has 10 spans associated and I have the ConsistentSampler.rateLimited (5,1) configured as Sampler to
SdkTracerProviderBuilder
then would I be able to see all the 10 spans or just 5 spans?Beta Was this translation helpful? Give feedback.
All reactions