#include <userver/storages/postgres/statistics.hpp>
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.   | |
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::active = 0 | 
Number of active connections.
Definition at line 77 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::drop_total = 0 | 
Number of connections dropped.
Definition at line 75 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::error_timeout = 0 | 
Connection timeouts (timeouts while connecting)
Definition at line 87 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::error_total = 0 | 
Error during connection.
Definition at line 85 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::max_queue_size = 0 | 
Number of maximum allowed waiting requests.
Definition at line 89 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::maximum = 0 | 
Number of maximum allowed connections.
Definition at line 81 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::open_total = 0 | 
Number of connections opened.
Definition at line 73 of file statistics.hpp.
| MmaAccumulator storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::prepared_statements | 
Prepared statements count min-max-avg.
Definition at line 92 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::used = 0 | 
Number of connections in use.
Definition at line 79 of file statistics.hpp.
| Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::waiting = 0 | 
Number of waiting requests.
Definition at line 83 of file statistics.hpp.