Structs§
- Duration
Recorder Future - The future returned by the
DurationRecorderService
. - Duration
Recorder Layer - A
Layer
that records the duration of requests in milliseconds. - Duration
Recorder Service - A middleware that records the duration of requests in milliseconds.
- FnWrapper
- A wrapper around a function that can be used to generate a key-value pair, make or enrich spans.
- Identity
Layer - A no-op layer that has the request type bound.
- Identity
Service - A no-op service that has the request type bound.
- InFlight
Counter Layer - A
Layer
that records the number of in-flight requests. - InFlight
Counter Service - A middleware that records the number of in-flight requests.
- InFlight
Future - The future returned by
InFlightCounterService
- KV
- A simple static key-value pair.
- Trace
Context Layer - A
Layer
that adds a trace context to the request. - Trace
Context Service - A
Service
that adds a trace context to the request. - Trace
Future - Trace
Layer - Trace
Service
Traits§
- Enrich
Span - A trait for enriching a span with information a structure.
- Make
Span - A trait for creating a span for a request.
- Metrics
Attributes - Make metrics attributes from a type.
Functions§
- enrich_
span_ fn - Enrich span from a function.
- make_
span_ fn - Make span from a function.
- metrics_
attributes_ fn