Struct fibers_http_server::metrics::HandlerMetrics [] [src]

pub struct HandlerMetrics { /* fields omitted */ }

HTTP handler metrics.

Methods

impl HandlerMetrics
[src]

[src]

Number of requests that the handler handled.

Metric: fibers_http_server_handler_requests_total { status = "..." } <COUNTER>

Important traits for &'a mut [u8]
[src]

Histogram bucket of requests processing duration.

It does not contains the time elapsed for reading/writing requests/responses.

Metric: fibers_http_server_handler_request_duration_seconds_bucket { le="...", method="...", path="..." } <COUNTER>

Trait Implementations

impl Debug for HandlerMetrics
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for HandlerMetrics
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations