Package com.google.api.gax.tracing
Interface TraceManager
- All Known Implementing Classes:
OpenTelemetryTraceManager
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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncreateSpan(String name, Map<String, Object> attributes) Starts a span and returns a handle to manage its lifecycle.
-
Method Details
-
createSpan
Starts a span and returns a handle to manage its lifecycle.
-