Struct fibers_http_server::metrics::ServerMetrics
[−]
[src]
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 Debug for ServerMetrics
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ServerMetrics
[src]
fn clone(&self) -> ServerMetrics
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more