public interface Sampler
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Release any resources used by the sampler.
|
SamplingStatus |
sample(java.lang.String operation,
long id) |
SamplingStatus sample(java.lang.String operation, long id)
operation - The operation name set on the spanid - The traceId on the spanvoid close()