Package | Description |
---|---|
org.axonframework.tracing.opentelemetry |
Modifier and Type | Method and Description |
---|---|
OpenTelemetrySpanFactory.Builder |
OpenTelemetrySpanFactory.Builder.addSpanAttributeProviders(List<SpanAttributesProvider> attributesProviders)
Adds all provided
SpanAttributesProvider s to the SpanFactory . |
static OpenTelemetrySpanFactory.Builder |
OpenTelemetrySpanFactory.builder()
Instantiate a Builder to create a
OpenTelemetrySpanFactory . |
OpenTelemetrySpanFactory.Builder |
OpenTelemetrySpanFactory.Builder.contextPropagators(io.opentelemetry.context.propagation.TextMapPropagator propagator)
Sets the propagator to be used.
|
OpenTelemetrySpanFactory.Builder |
OpenTelemetrySpanFactory.Builder.textMapGetter(io.opentelemetry.context.propagation.TextMapGetter<Message<?>> textMapGetter)
Defines the
TextMapGetter to use, which is used for extracting the propagated context from another
thread or service. |
OpenTelemetrySpanFactory.Builder |
OpenTelemetrySpanFactory.Builder.textMapSetter(io.opentelemetry.context.propagation.TextMapSetter<Map<String,String>> textMapSetter)
Defines the
TextMapSetter to use, which is used for propagating the context to another thread or
service. |
OpenTelemetrySpanFactory.Builder |
OpenTelemetrySpanFactory.Builder.tracer(io.opentelemetry.api.trace.Tracer tracer)
Defines the
Tracer from OpenTelemetry to use. |
Constructor and Description |
---|
OpenTelemetrySpanFactory(OpenTelemetrySpanFactory.Builder builder)
Instantiate a
OpenTelemetrySpanFactory based on the fields contained in the OpenTelemetrySpanFactory.Builder . |
Copyright © 2010–2023. All rights reserved.