public class GridTracingManager extends GridManagerAdapter<TracingSpi> implements Tracing
GridComponent.DiscoveryDataExchangeTypectx, log| Constructor and Description |
|---|
GridTracingManager(GridKernalContext ctx,
boolean useNoopTracingSpi)
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 lb)
Creates Span given name and explicit parent.
|
TraceableMessagesHandler |
messages() |
byte[] |
serialize(@NotNull Span span)
Serializes span to byte array to send context over network.
|
void |
start()
Starts grid component.
|
void |
stop(boolean cancel)
Stops grid component.
|
assertParameter, collectGridNodeData, collectJoiningNodeData, discoveryDataType, enabled, getSpi, getSpi, getSpis, inject, onAfterSpiStart, onBeforeSpiStart, onDisconnected, onGridDataReceived, onJoiningNodeDataReceived, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, startInfo, startSpi, stopInfo, stopSpi, toString, validateNode, validateNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreatepublic GridTracingManager(GridKernalContext ctx, boolean useNoopTracingSpi)
ctx - Context.useNoopTracingSpi - Flag that signals that NoOp tracing spi should be used instead of the one,
specified in the context. It's a part of the failover logic that is suitable if an exception is thrown
when the manager starts.public void start()
throws IgniteCheckedException
GridComponentstart in interface GridComponentIgniteCheckedException - Thrown in case of any errors.public void stop(boolean cancel)
throws IgniteCheckedException
GridComponentstop in interface GridComponentcancel - If true, then all ongoing tasks or jobs for relevant
components need to be cancelled.IgniteCheckedException - Thrown in case of any errors.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 lb)
create in interface SpanManagerspanType - Type of span to create.parentSpan - Parent span.lb - Label.public byte[] serialize(@NotNull
@NotNull Span span)
serialize in interface SpanManagerspan - Span.public TraceableMessagesHandler messages()
@NotNull public @NotNull TracingConfigurationManager configuration()
TracingConfigurationManager instance that allows to
configuration in interface TracingTracingConfigurationManager instance.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020