public static class TracingConfigurationParameters.Builder extends Object
TracingConfigurationParameters builder.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TracingConfigurationParameters |
build()
Builder's build() method.
|
@NotNull TracingConfigurationParameters.Builder |
withIncludedScopes(Set<Scope> includedScopes)
Builder method that allows to set included scopes.
|
@NotNull TracingConfigurationParameters.Builder |
withSamplingRate(double samplingRate)
Builder method that allows to set sampling rate.
|
@NotNull public @NotNull TracingConfigurationParameters.Builder withSamplingRate(double samplingRate)
samplingRate - Number between 0 and 1 that more or less reflects the probability of sampling specific trace.
0 and 1 have special meaning here, 0 means never 1 means always. Default value is 0 (never).TracingConfigurationParameters instance.@NotNull public @NotNull TracingConfigurationParameters.Builder withIncludedScopes(Set<Scope> includedScopes)
includedScopes - Set of 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.TracingConfigurationParameters instance.public TracingConfigurationParameters build()
TracingConfigurationParameters instance.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025