public static final class BootstrapInitializationTelemetry.JsonBased extends BootstrapInitializationTelemetry
BootstrapInitializationTelemetry.ForwarderJsonSender, BootstrapInitializationTelemetry.JsonBased, BootstrapInitializationTelemetry.JsonSender, BootstrapInitializationTelemetry.NoOp| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
void |
initMetaInfo(String attr,
String value)
Adds meta information about the process to the initialization telemetry Does NOT support
overriding an attr, each attr should be once and only once
|
void |
markIncomplete() |
void |
onAbort(String reasonCode)
Indicates that an abort condition occurred during the bootstrapping process Abort conditions
are assumed to leave the bootstrapping process incomplete.
|
void |
onError(String reasonCode) |
void |
onError(Throwable t)
Indicates that an exception occurred during the bootstrapping process By default the exception
is assumed to NOT have fully stopped the initialization of the tracer.
|
void |
onFatalError(Throwable t)
Indicates an exception that occurred during the bootstrapping process that left initialization
incomplete.
|
createFromForwarderPath, noOpInstancepublic void initMetaInfo(String attr, String value)
BootstrapInitializationTelemetryinitMetaInfo in class BootstrapInitializationTelemetrypublic void onAbort(String reasonCode)
BootstrapInitializationTelemetryBootstrapInitializationTelemetry.markIncomplete()onAbort in class BootstrapInitializationTelemetrypublic void onError(Throwable t)
BootstrapInitializationTelemetryIf this exception stops the core bootstrapping of the tracer, then BootstrapInitializationTelemetry.markIncomplete()
should also be called.
onError in class BootstrapInitializationTelemetrypublic void onFatalError(Throwable t)
BootstrapInitializationTelemetryBootstrapInitializationTelemetry.onError(Throwable) and BootstrapInitializationTelemetry.markIncomplete()onFatalError in class BootstrapInitializationTelemetrypublic void onError(String reasonCode)
onError in class BootstrapInitializationTelemetrypublic void markIncomplete()
markIncomplete in class BootstrapInitializationTelemetrypublic void finish()
finish in class BootstrapInitializationTelemetry