#include <userver/storages/postgres/statistics.hpp>
Template connection statistics storage.
Definition at line 73 of file statistics.hpp.
Public Attributes | |
| RateCounter | open_total {} |
| Number of connections opened. | |
| RateCounter | drop_total {} |
| Number of connections dropped. | |
| GaugeCounter | active = 0 |
| Number of active connections. | |
| GaugeCounter | used = 0 |
| Number of connections in use. | |
| GaugeCounter | maximum = 0 |
| Number of maximum allowed connections. | |
| GaugeCounter | waiting = 0 |
| Number of waiting requests. | |
| RateCounter | error_total {} |
| Error during connection. | |
| RateCounter | error_timeout {} |
| Connection timeouts (timeouts while connecting). | |
| RateCounter | rate_limit_throttled {} |
| Number of rejected connection attempts due to rate limiting. | |
| GaugeCounter | max_queue_size = 0 |
| Number of maximum allowed waiting requests. | |
| MmaAccumulator | prepared_statements |
| Prepared statements count min-max-avg. | |
| GaugeCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::active = 0 |
Number of active connections.
Definition at line 79 of file statistics.hpp.
| RateCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::drop_total {} |
Number of connections dropped.
Definition at line 77 of file statistics.hpp.
| RateCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::error_timeout {} |
Connection timeouts (timeouts while connecting).
Definition at line 89 of file statistics.hpp.
| RateCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::error_total {} |
Error during connection.
Definition at line 87 of file statistics.hpp.
| GaugeCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::max_queue_size = 0 |
Number of maximum allowed waiting requests.
Definition at line 93 of file statistics.hpp.
| GaugeCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::maximum = 0 |
Number of maximum allowed connections.
Definition at line 83 of file statistics.hpp.
| RateCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::open_total {} |
Number of connections opened.
Definition at line 75 of file statistics.hpp.
| MmaAccumulator storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::prepared_statements |
Prepared statements count min-max-avg.
Definition at line 96 of file statistics.hpp.
| RateCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::rate_limit_throttled {} |
Number of rejected connection attempts due to rate limiting.
Definition at line 91 of file statistics.hpp.
| GaugeCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::used = 0 |
Number of connections in use.
Definition at line 81 of file statistics.hpp.
| GaugeCounter storages::postgres::ConnectionStatistics< GaugeCounter, RateCounter, MmaAccumulator >::waiting = 0 |
Number of waiting requests.
Definition at line 85 of file statistics.hpp.