Module tracer

Module tracer 

Source

Structs§

ActiveSpan
ActiveSpan where all the magic happens The active Span attempts to maintain compatibility with the OpenTelemetry Span API
BaseTracer
The main Tracer class

Functions§

flush_tracer
Helper function to force flush the tracer provider
init_tracer
Global initialization function for the tracer. This sets up the tracer provider with the specified service name, endpoint, and sampling ratio. If no endpoint is provided, spans will be exported to stdout for debugging purposes.
shutdown_tracer