Class TracingHelper
java.lang.Object
org.springframework.ai.observation.tracing.TracingHelper
Utilities to prepare and process traces for observability.
- Author:
- Thomas Vitale
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
concatenateMaps
(Map<String, Object> keyValues) static String
concatenateStrings
(List<String> strings) static io.opentelemetry.api.trace.Span
extractOtelSpan
(io.micrometer.tracing.handler.TracingObservationHandler.TracingContext tracingContext)
-
Constructor Details
-
TracingHelper
public TracingHelper()
-
-
Method Details
-
extractOtelSpan
@Nullable public static io.opentelemetry.api.trace.Span extractOtelSpan(@Nullable io.micrometer.tracing.handler.TracingObservationHandler.TracingContext tracingContext) -
concatenateMaps
-
concatenateStrings
-