Class EventPublishingContextWrapper.ScopeAttachedEvent

java.lang.Object
io.micrometer.tracing.otel.bridge.EventPublishingContextWrapper.ScopeAttachedEvent
Enclosing class:
EventPublishingContextWrapper

public static class EventPublishingContextWrapper.ScopeAttachedEvent extends Object
An event with context attached.
Since:
1.0.0
  • Constructor Details

    • ScopeAttachedEvent

      public ScopeAttachedEvent(@Nullable io.opentelemetry.context.Context context)
      Create a new event.
      Parameters:
      context - corresponding otel context
  • Method Details

    • getSpan

      public io.opentelemetry.api.trace.Span getSpan()
    • getBaggage

      public io.opentelemetry.api.baggage.Baggage getBaggage()
    • toString

      public String toString()
      Overrides:
      toString in class Object