Module metrics

Source
Expand description

Prometheus metrics.

Structsยง

BucketConfig
Bucket configuration. Holds an increasing sequence of upper_bound.
HandlerMetrics
HTTP handler metrics.
MetricsHandler
A handler for exposing prometheus metrics.
ServerMetrics
HTTP server metrics.
Time
Future that for measuring the time elapsed to handle a request.
WithMetrics
A handler for granting the metrics collection functionality to the inner handler H.