TracingManager
Manager for setting up and managing OpenTelemetry tracing for Tracy.
This object provides utilities to:
Initialize and configure the OpenTelemetry SDK using a org.jetbrains.ai.tracy.core.exporters.BaseExporterConfig.
Obtain a default io.opentelemetry.api.trace.Tracer for Tracy, used in automatic tracing as well as annotation-based spans.
Flush and shut down traces gracefully.
Usage example:
TracingManager.setSdk(configureOpenTelemetrySdk(ConsoleExporterConfig()))
// ... your traced code ...
TracingManager.flushTraces()See also
Properties
Policy that controls capturing inputs and outputs in spans. Disabled by default. Can be overridden programmatically at runtime.
Indicates whether tracing is enabled at runtime.
Provides the default io.opentelemetry.api.trace.Tracer instance for Tracy.
Functions
Forces flushing of any pending spans to their respective exporters.
Sets the OpenTelemetrySdk.
Shuts down the OpenTelemetry SDK.
Enables the capture of sensitive content (inputs and outputs) for tracing spans.
Sets the capturing policy for handling sensitive content within spans.