Package-level declarations
Types
Marks declarations that are internal to the Tracy library.
Intercepts OkHttp calls and traces them using the provided adapter.
Manager for setting up and managing OpenTelemetry tracing for Tracy.
Functions
Initializes the OpenTelemetrySdk using a provided BaseExporterConfig.
Returns the active OpenTelemetry Context from the given CoroutineContext. Falls back to Context.current when no trace context is attached or when the resolved context is root.
Wraps the current OpenTelemetry Context as a CoroutineContext. Use this to preserve trace context across coroutines.
Instruments an OkHttpClient with OpenTelemetry tracing for LLM provider API calls, returning a cloned and patched instance of the provided OkHttpClient.
Appends a given interceptor into a copy of interceptors if the same instance/an instance of the same type isn't found.
Patches the OpenAI-compatible client by injecting a custom interceptor into its internal HTTP client in-place.