Struct pgwire::Metrics [−][src]
pub struct Metrics {
pub command_durations: HistogramVec,
pub bytes_sent: UIntCounter,
pub rows_returned: UIntCounter,
pub query_count: UIntCounter,
}
Fields
command_durations: HistogramVec
bytes_sent: UIntCounter
rows_returned: UIntCounter
query_count: UIntCounter
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Metrics
impl !UnwindSafe for Metrics
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more