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 70 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 76 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 74 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 86 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 84 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 88 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 80 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 72 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 91 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 78 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 82 of file statistics.hpp.


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