public class CompositeSampler extends Object implements Sampler
Constructor and Description |
---|
CompositeSampler(List<Sampler> samplers) |
Modifier and Type | Method and Description |
---|---|
boolean |
isEarly()
Whether this sampler performs early or head based sampling.
|
boolean |
sample(String operationName,
long traceId,
long duration)
Gets whether a span should be allowed given it's operation and trace id.
|
Copyright © 2022. All rights reserved.