Class TracingScopeManager
- java.lang.Object
-
- org.apache.synapse.aspects.flow.statistics.tracing.opentelemetry.management.scoping.TracingScopeManager
-
public class TracingScopeManager extends Object
Manages tracing scopes.
-
-
Constructor Summary
Constructors Constructor Description TracingScopeManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanupTracingScope(String tracingScopeId)
TracingScope
getTracingScope(MessageContext synCtx)
Returns a tracing scope object for the provided message context.
-
-
-
Method Detail
-
getTracingScope
public TracingScope getTracingScope(MessageContext synCtx)
Returns a tracing scope object for the provided message context. Returns the reference to the existing object when the tracing scope is known (has been already created). Otherwise creates a new scope, stores it, and returns its reference.- Parameters:
synCtx
- Message context.- Returns:
- Tracing scope object.
-
cleanupTracingScope
public void cleanupTracingScope(String tracingScopeId)
-
-