public class TracingConfigurationParameters extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TracingConfigurationParameters.Builder
TracingConfigurationParameters builder. |
Modifier and Type | Field and Description |
---|---|
static TracingConfigurationParameters |
EMPTY |
static double |
SAMPLING_RATE_ALWAYS
Max valid sampling rate with special meaning that span will always be created.
|
static double |
SAMPLING_RATE_NEVER
Min valid sampling rate with special meaning that span won't be created.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@NotNull Set<Scope> |
includedScopes() |
double |
samplingRate() |
public static final TracingConfigurationParameters EMPTY
public static final double SAMPLING_RATE_NEVER
public static final double SAMPLING_RATE_ALWAYS
public double samplingRate()
@NotNull public @NotNull Set<Scope> includedScopes()
Scope
that defines which sub-traces will be included in given trace.
In other words, if child's span scope is equals to parent's scope
or it belongs to the parent's span included scopes, then given child span will be attached to the current trace,
otherwise it'll be skipped.
See Span.isChainable(Scope)
for more details.
If no scopes are specified, empty set will be returned.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024