Struct fibers_http_client::metrics::ConnectionPoolMetrics[][src]

pub struct ConnectionPoolMetrics { /* fields omitted */ }

ConnectionPool metrics.

Methods

impl ConnectionPoolMetrics
[src]

Maximum number of pooled connections.

Metric: fibers_http_client_connection_pool_max_pool_size <GAUGE>

Current number of pooled connections.

This includes the connections that being used by clients.

Metric: sum(fibers_http_client_connection_allocated_connections_total) - sum(fibers_http_client_connection_released_connections_total)

Number of connections allocated by the pool.

Metric: fibers_http_client_connection_allocated_connections_total <COUNTER>

Number of connections released from the pool due to TCP closure.

Metric: fibers_http_client_connection_released_connections_total { reason="closed" } <COUNTER>

Number of connections released from the pool due to TCP connect error.

Metric: fibers_http_client_connection_released_connections_total { reason="connect_failed" } <COUNTER>

Number of connections released from the pool due to HTTP request error.

Metric: fibers_http_client_connection_released_connections_total { reason="request_failed" } <COUNTER>

Number of connections released from the pool due to keepalive expiration.

Metric: fibers_http_client_connection_released_connections_total { reason="expired" } <COUNTER>

Number of connections kicked out from the pool.

Metric: fibers_http_client_connection_released_connections_total { reason="kicked_out" } <COUNTER>

Number of connections lent to clients.

Metric: fibers_http_client_connection_lent_connections_total <COUNTER>

Number of connections returned from clients.

Metric: fibers_http_client_connection_returned_connections_total <COUNTER>

Currently used connections by clients.

Metric: fibers_http_client_connection_lent_connections_total - fibers_http_client_connection_returned_connections_total

Number of connection acquisition failures.

Metric: fibers_http_client_connection_errors_total { reason="no_available_connection" } <COUNTER>

Trait Implementations

impl Debug for ConnectionPoolMetrics
[src]

Formats the value using the given formatter. Read more

impl Clone for ConnectionPoolMetrics
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations