userver: storages::postgres::ConnectionStatistics< Counter, MmaAccumulator > Struct Template Reference
Loading...
Searching...
No Matches
storages::postgres::ConnectionStatistics< Counter, MmaAccumulator > Struct Template Reference

#include <userver/storages/postgres/statistics.hpp>

Detailed Description

template<typename Counter, typename MmaAccumulator>
struct storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >

Template connection statistics storage.

Definition at line 71 of file statistics.hpp.

Public Attributes

Counter open_total = 0
 Number of connections opened.
 
Counter drop_total = 0
 Number of connections dropped.
 
Counter active = 0
 Number of active connections.
 
Counter used = 0
 Number of connections in use.
 
Counter maximum = 0
 Number of maximum allowed connections.
 
Counter waiting = 0
 Number of waiting requests.
 
Counter error_total = 0
 Error during connection.
 
Counter error_timeout = 0
 Connection timeouts (timeouts while connecting)
 
Counter max_queue_size = 0
 Number of maximum allowed waiting requests.
 
MmaAccumulator prepared_statements
 Prepared statements count min-max-avg.
 

Member Data Documentation

◆ active

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::active = 0

Number of active connections.

Definition at line 77 of file statistics.hpp.

◆ drop_total

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::drop_total = 0

Number of connections dropped.

Definition at line 75 of file statistics.hpp.

◆ error_timeout

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::error_timeout = 0

Connection timeouts (timeouts while connecting)

Definition at line 87 of file statistics.hpp.

◆ error_total

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::error_total = 0

Error during connection.

Definition at line 85 of file statistics.hpp.

◆ max_queue_size

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::max_queue_size = 0

Number of maximum allowed waiting requests.

Definition at line 89 of file statistics.hpp.

◆ maximum

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::maximum = 0

Number of maximum allowed connections.

Definition at line 81 of file statistics.hpp.

◆ open_total

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::open_total = 0

Number of connections opened.

Definition at line 73 of file statistics.hpp.

◆ prepared_statements

template<typename Counter , typename MmaAccumulator >
MmaAccumulator storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::prepared_statements

Prepared statements count min-max-avg.

Definition at line 92 of file statistics.hpp.

◆ used

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::used = 0

Number of connections in use.

Definition at line 79 of file statistics.hpp.

◆ waiting

template<typename Counter , typename MmaAccumulator >
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::waiting = 0

Number of waiting requests.

Definition at line 83 of file statistics.hpp.


The documentation for this struct was generated from the following file: