Class TracingHelper

java.lang.Object
org.springframework.ai.observation.tracing.TracingHelper

public final class TracingHelper extends Object
Utilities to prepare and process traces for observability.
Author:
Thomas Vitale
  • Method Details

    • extractOtelSpan

      @Nullable public static io.opentelemetry.api.trace.Span extractOtelSpan(@Nullable io.micrometer.tracing.handler.TracingObservationHandler.TracingContext tracingContext)
    • concatenateMaps

      public static String concatenateMaps(Map<String,Object> keyValues)
    • concatenateStrings

      public static String concatenateStrings(List<String> strings)