JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
com.datadoghq.trace.sampling
Interface Sampler
All Known Implementing Classes:
AbstractSampler
,
AllSampler
,
RateSampler
public interface
Sampler
Main interface to sample a collection of traces.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
boolean
sample
(
DDBaseSpan
<?> span)
Sample a collection of traces based on the parent span
Method Detail
sample
boolean sample(
DDBaseSpan
<?> span)
Sample a collection of traces based on the parent span
Parameters:
span
- the parent span with its context
Returns:
true when the trace/spans has to be reported/written
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method