Crate tembo_telemetry

Crate tembo_telemetry 

Source
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§

CustomFilterRootSpanBuilder
Custom root span builder that allows for filtering out specific routes.
CustomLoggerBuilder
Builder for creating a custom logging middleware.
TelemetryConfig
Configuration for telemetry setup.

Traits§

TelemetryInit
Trait to initialize telemetry based on the provided configuration.

Functions§

get_tracing_logger
Convenience function to obtain a CustomLoggerBuilder.