Interface TraceManager (2.75.0)

public interface TraceManager

Provides an interface for tracing management. The implementer is expected to use an observability framework, e.g. OpenTelemetry. There should be only one instance of TraceManager per client.

Methods

createSpan(String name, Map<String,String> attributes)

public abstract TraceManager.Span createSpan(String name, Map<String,String> attributes)

Starts a span and returns a handle to manage its lifecycle.

Parameters
Name Description
name String
attributes Map<String,String>
Returns
Type Description
TraceManager.Span