Package org.apache.ignite.spi.tracing
Class TracingConfigurationParameters
- java.lang.Object
- 
- org.apache.ignite.spi.tracing.TracingConfigurationParameters
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class TracingConfigurationParameters extends Object implements Serializable Set of tracing configuration parameters like sampling rate or included scopes.- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTracingConfigurationParameters.BuilderTracingConfigurationParametersbuilder.
 - 
Field SummaryFields Modifier and Type Field Description static doubleSAMPLING_RATE_ALWAYSMax valid sampling rate with special meaning that span will be always created.static doubleSAMPLING_RATE_NEVERMin valid sampling rate with special meaning that span won't be created.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull Set<Scope>includedScopes()doublesamplingRate()
 
- 
- 
- 
Field Detail- 
SAMPLING_RATE_NEVERpublic static final double SAMPLING_RATE_NEVER Min valid sampling rate with special meaning that span won't be created.- See Also:
- Constant Field Values
 
 - 
SAMPLING_RATE_ALWAYSpublic static final double SAMPLING_RATE_ALWAYS Max valid sampling rate with special meaning that span will be always created.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
samplingRatepublic double samplingRate() - Returns:
- 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).
 
 - 
includedScopes@NotNull public @NotNull Set<Scope> includedScopes() - Returns:
- Set of Scopethat 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. SeeSpan.isChainable(Scope)for more details. If no scopes are specified, empty set will be returned.
 
 
- 
 
-