tower-otel 0.10.0

OpenTelemetry layer for HTTP/gRPC services
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Middleware that adds metrics to a [`Service`].
//!
//! These middlewares follow the conventions defined by OpenTelemetry for [HTTP protocol] and [gRPC
//! protocol].
//!
//! [`Service`]: tower_service::Service
//! [HTTP protocol]: https://opentelemetry.io/docs/specs/semconv/http/http-metrics/
//! [gRPC protocol]: https://opentelemetry.io/docs/specs/semconv/rpc/rpc-metrics/

#[doc(inline)]
pub use self::http::{Http, HttpLayer};

pub mod http;