Template connection statistics storage. More...
#include <userver/storages/postgres/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. | |
Template connection statistics storage.
Definition at line 70 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::active = 0 |
Number of active connections.
Definition at line 76 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::drop_total = 0 |
Number of connections dropped.
Definition at line 74 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::error_timeout = 0 |
Connection timeouts (timeouts while connecting)
Definition at line 86 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::error_total = 0 |
Error during connection.
Definition at line 84 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::max_queue_size = 0 |
Number of maximum allowed waiting requests.
Definition at line 88 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::maximum = 0 |
Number of maximum allowed connections.
Definition at line 80 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::open_total = 0 |
Number of connections opened.
Definition at line 72 of file statistics.hpp.
MmaAccumulator storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::prepared_statements |
Prepared statements count min-max-avg.
Definition at line 91 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::used = 0 |
Number of connections in use.
Definition at line 78 of file statistics.hpp.
Counter storages::postgres::ConnectionStatistics< Counter, MmaAccumulator >::waiting = 0 |
Number of waiting requests.
Definition at line 82 of file statistics.hpp.