Skip to main contentModule logging
Source - OtelGuard
- A guard that shuts down the tracer provider when dropped. This ensures that the logs are flushed
to the exporter before the program exits.
- ResourceConfig
- Default OpenTelemetry resource attributes for this process.
- TracingConfig
- Tracing subscriber configuration.
- OpenTelemetry
- Configures
setup_tracing to enable or disable the open-telemetry exporter.
- setup_tracing
- Initializes tracing to stdout and optionally an open-telemetry exporter.
- setup_tracing_with_config
- Initializes tracing from explicit stdout and OpenTelemetry filter configuration.