Uses of Class
cloud.opencode.base.observability.context.ObservabilityContext
Packages that use ObservabilityContext
-
Uses of ObservabilityContext in cloud.opencode.base.observability.context
Methods in cloud.opencode.base.observability.context that return ObservabilityContextModifier and TypeMethodDescriptionstatic ObservabilityContextCreates a new context with the given trace ID and an auto-generated span ID.static ObservabilityContextCreates a new context with the given trace ID and span ID.static ObservabilityContextObservabilityContext.current()Returns the current thread's observability context, ornullif none is attached.ObservabilityContext.withBaggage(String key, String value) Returns a new context with an additional baggage entry.ObservabilityContext.withSpanId(String newSpanId) Returns a new context with the same trace ID and baggage but a different span ID.