Skip to main content

Stats

Type Alias Stats 

Source
pub type Stats = ServerMetrics;
Expand description

Canonical stats surface for architecture-level composition.

Aliased Type§

pub struct Stats {
    pub connections_total: Atomic<u64>,
    pub connections_active: Atomic<u64>,
    pub connections_rejected: Atomic<u64>,
    pub requests_total: Atomic<u64>,
    pub requests_by_function: Box<[Atomic<u64>; 256]>,
    pub responses_success: Atomic<u64>,
    pub responses_exception: Atomic<u64>,
    pub errors_total: Atomic<u64>,
    pub frame_errors: Atomic<u64>,
    pub timeout_errors: Atomic<u64>,
    pub bytes_received: Atomic<u64>,
    pub bytes_sent: Atomic<u64>,
    /* private fields */
}

Fields§

§connections_total: Atomic<u64>

Total connections accepted.

§connections_active: Atomic<u64>

Connections currently active.

§connections_rejected: Atomic<u64>

Total connections rejected (due to limit).

§requests_total: Atomic<u64>

Total requests received.

§requests_by_function: Box<[Atomic<u64>; 256]>

Requests by function code.

§responses_success: Atomic<u64>

Total successful responses.

§responses_exception: Atomic<u64>

Total exception responses.

§errors_total: Atomic<u64>

Total errors (internal, not exceptions).

§frame_errors: Atomic<u64>

Frame decode errors.

§timeout_errors: Atomic<u64>

Request timeout errors.

§bytes_received: Atomic<u64>

Total bytes received.

§bytes_sent: Atomic<u64>

Total bytes sent.