Crate opentelemetry_instrumentation_tower

Crate opentelemetry_instrumentation_tower 

Source

Structs§

Error
Error typedef to implement std::error::Error for opentelemetry_instrumentation_tower
FnRequestExtractor
A function-based request attribute extractor
FnResponseExtractor
A function-based response attribute extractor
HTTPMetricsLayer
Layer which applies the OTEL HTTP server metrics middleware
HTTPMetricsLayerBuilder
HTTPMetricsResponseFuture
Response Future for HTTPMetricsService.
HTTPMetricsService
Service used by HTTPMetricsLayer
NoOpExtractor
Default implementation that extracts no attributes

Traits§

RequestAttributeExtractor
Trait for extracting custom attributes from HTTP requests
ResponseAttributeExtractor
Trait for extracting custom attributes from HTTP responses

Type Aliases§

Result
Result typedef to use with the opentelemetry_instrumentation_tower::Error type