Definition at line 153 of file statistics.hpp.
Public Member Functions | |
template<typename Statistics > | |
InstanceStatisticsNonatomic (const Statistics &stats) | |
InstanceStatisticsNonatomic (InstanceStatisticsNonatomic &&)=default | |
InstanceStatisticsNonatomic & | operator= (InstanceStatisticsNonatomic &&)=default |
InstanceStatisticsNonatomic & | Add (const InstanceStatistics &stats, const decltype(InstanceStatistics::topology)&topology_stats) |
InstanceStatisticsNonatomic & | Add (const std::unordered_map< std::string, StatementStatistics > &stats) |
Public Attributes | |
std::unordered_map< std::string, StatementStatistics > | per_statement_stats |
Public Attributes inherited from storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator > | |
ConnectionStatistics< Counter, MmaAccumulator > | connection |
Connection statistics. | |
TransactionStatistics< Counter, PercentileAccumulator > | transaction |
Transaction statistics. | |
InstanceTopologyStatistics< MmaAccumulator > | topology |
Topology statistics. | |
Counter | pool_exhaust_errors = 0 |
Error caused by pool exhaustion. | |
Counter | queue_size_errors = 0 |
Error caused by queue size overflow. | |
PercentileAccumulator | connection_percentile |
Connect time percentile. | |
PercentileAccumulator | acquire_percentile |
Acquire connection percentile. | |
std::conditional_t< std::is_same_v< Counter, uint32_t >, std::byte, congestion_control::v2::Stats > | congestion_control {} |
Congestion control statistics. | |
|
inline |
Definition at line 157 of file statistics.hpp.
|
inline |
Definition at line 164 of file statistics.hpp.
|
inline |
Definition at line 214 of file statistics.hpp.
std::unordered_map<std::string, StatementStatistics> storages::postgres::InstanceStatisticsNonatomic::per_statement_stats |
Definition at line 227 of file statistics.hpp.