Expand description
tembo-telemetry is a crate that provides logging and telemetry exporters for Tembo.io applications.
It integrates with the OpenTelemetry ecosystem to provide detailed traces.
§Features
- Configurable telemetry setup via
TelemetryConfig. - Integration with the OpenTelemetry and tracing ecosystems.
- Out-of-the-box support for OTLP exporters.
- Environment-specific logger configurations.
§Usage
Refer to the TelemetryConfig and TelemetryInit traits for setting up and initializing telemetry.
Structs§
- Custom
Filter Root Span Builder - Custom root span builder that allows for filtering out specific routes.
- Custom
Logger Builder - Builder for creating a custom logging middleware.
- Telemetry
Config - Configuration for telemetry setup.
Traits§
- Telemetry
Init - Trait to initialize telemetry based on the provided configuration.
Functions§
- get_
tracing_ logger - Convenience function to obtain a
CustomLoggerBuilder.