[][src]Struct fibers_http_server::metrics::ServerMetrics

pub struct ServerMetrics { /* fields omitted */ }

HTTP server metrics.

Methods

impl ServerMetrics[src]

pub fn connected_tcp_clients(&self) -> u64[src]

Number of connected TCP clients.

Metric: fibers_http_server_connected_tcp_clients_total <COUNTER>

pub fn disconnected_tcp_clients(&self) -> u64[src]

Number of disconnected TCP clients.

Metric: fibers_http_server_disconnected_tcp_clients_total <COUNTER>

pub fn read_request_head_errors(&self) -> u64[src]

Number of errors occurred while reading the head part of requests.

Metric: fibers_http_server_errors_total { phase="read_request_head" } <COUNTER>

pub fn parse_request_path_errors(&self) -> u64[src]

Number of errors occurred while parsing the path of requests.

Metric: fibers_http_server_errors_total { phase="parse_request_path" } <COUNTER>

pub fn dispatch_request_errors(&self) -> u64[src]

Number of errors occurred while dispatcing requests.

Metric: fibers_http_server_errors_total { phase="dispatch_request" } <COUNTER>

pub fn initialize_handler_errors(&self) -> u64[src]

Number of errors occurred while initializing request handlers.

Metric: fibers_http_server_errors_total { phase="initialize_handler" } <COUNTER>

pub fn decode_request_body_errors(&self) -> u64[src]

Number of errors occurred while decoding the body part of requests.

Metric: fibers_http_server_errors_total { phase="decode_request_body" } <COUNTER>

pub fn write_response_errors(&self) -> u64[src]

Number of errors occurred while writing responses to sockets.

Metric: fibers_http_server_errors_total { phase="write_response" } <COUNTER>

Trait Implementations

impl Clone for ServerMetrics[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for ServerMetrics[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]