Expand description
Utilities for tracing and logging.
Some fairly opinionated!
Re-exports§
pub use opentelemetry_semantic_conventions as semcov;
pub use tower_tracing::*;
Modules§
Structs§
- Grpc
Interceptor - This interceptor adds tokio tracing opentelemetry headers to grpc requests. Allows stitching together distributed traces!
- Logging
Setup Build Result - Hang on to this to be able to call
shutdown()
on the providers. - Logging
Setup Builder - Metadata
Injector
Traits§
- Open
Telemetry Span Ext - Utility functions to allow tracing
Span
s to accept and return OpenTelemetryContext
s.
Functions§
- set_
up_ logging - Set up an OTEL pipeline when the OTLP endpoint is set. Otherwise just set up tokio tracing support.
Type Aliases§
- Intercepted
Grpc Service - A tonic channel intercepted to provide distributed tracing context propagation.