public class NoopTracing extends Object implements Tracing
Tracing.| Modifier and Type | Field and Description |
|---|---|
static byte[] |
NOOP_SERIALIZED_SPAN
Noop serialized span.
|
| Constructor and Description |
|---|
NoopTracing()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull TracingConfigurationManager |
configuration()
Returns the
TracingConfigurationManager instance that allows to
Configure tracing parameters such as sampling rate for the specific tracing coordinates
such as scope and label. |
Span |
create(@NotNull SpanType spanType,
@Nullable byte[] serializedParentSpan)
Creates Span given name and explicit parent.
|
Span |
create(@NotNull SpanType spanType,
@Nullable Span parentSpan)
Creates Span given name and explicit parent.
|
@NotNull Span |
create(@NotNull SpanType spanType,
@Nullable Span parentSpan,
@Nullable String label)
Creates Span given name and explicit parent.
|
TraceableMessagesHandler |
messages() |
byte[] |
serialize(@NotNull Span span)
Serializes span to byte array to send context over network.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic static final byte[] NOOP_SERIALIZED_SPAN
public TraceableMessagesHandler messages()
public Span create(@NotNull @NotNull SpanType spanType, @Nullable @Nullable Span parentSpan)
create in interface SpanManagerspanType - Type of span to create.parentSpan - Parent span.public Span create(@NotNull @NotNull SpanType spanType, @Nullable @Nullable byte[] serializedParentSpan)
create in interface SpanManagerspanType - Type of span to create.serializedParentSpan - Parent span as serialized bytes.@NotNull public @NotNull Span create(@NotNull @NotNull SpanType spanType, @Nullable @Nullable Span parentSpan, @Nullable @Nullable String label)
create in interface SpanManagerspanType - Type of span to create.parentSpan - Parent span.label - Label.public byte[] serialize(@NotNull
@NotNull Span span)
serialize in interface SpanManagerspan - Span.@NotNull public @NotNull TracingConfigurationManager configuration()
TracingConfigurationManager instance that allows to
configuration in interface TracingTracingConfigurationManager instance.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021