| Modifier and Type | Method and Description |
|---|---|
| public default void | addLinkTarget(TelemetrySpan
the span)TelemetrySpan to be registered as a link target for subsequent new spansRegisters the specified |
| public default String | Returns: the default name of the key used in telemetry context propagationThe telemetry context propagation default key name. |
| public default void | propagateContext(BiConsumer<String, String>
the consumer that will process the telemetry context propagation information traceparentConsumer)Injects telemetry context propagation information into the specified consumer. |
| public default void | removeLinkTarget(TelemetrySpan
the span)TelemetrySpan to be removed from the list of registered link targetsRemoves the specified span from the list of registered link targets. |
| public TelemetrySpan | Returns: the newly-created span objectthe span name that identifies this telemetry span spanName, Object... arguments used for interpolating the specified span name via args)String#format(String, Object.Start a telemetry span. |
| addLinkTarget | back to summary |
|---|---|
| public default void addLinkTarget(TelemetrySpan span) Registers the specified
| |
| getContextPropagationKey | back to summary |
|---|---|
| public default String getContextPropagationKey() The telemetry context propagation default key name.
| |
| propagateContext | back to summary |
|---|---|
| public default void propagateContext(BiConsumer<String, String> traceparentConsumer) Injects telemetry context propagation information into the specified consumer.
| |
| removeLinkTarget | back to summary |
|---|---|
| public default void removeLinkTarget(TelemetrySpan span) Removes the specified span from the list of registered link targets.
| |
| startSpan | back to summary |
|---|---|
| public TelemetrySpan startSpan(TelemetrySpanName spanName, Object... args) Start a telemetry span. Additionally, the returned
| |