userver: storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator > Struct Template Reference
Loading...
Searching...
No Matches
storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator > Struct Template Reference

#include <userver/storages/postgres/statistics.hpp>

Detailed Description

template<typename Counter, typename PercentileAccumulator, typename MmaAccumulator>
struct storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >

Template instance statistics storage.

Definition at line 107 of file statistics.hpp.

+ Inheritance diagram for storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >:

Public Attributes

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::Statscongestion_control {}
 Congestion control statistics.
 

Member Data Documentation

◆ acquire_percentile

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
PercentileAccumulator storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::acquire_percentile

Acquire connection percentile.

Definition at line 121 of file statistics.hpp.

◆ congestion_control

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
std::conditional_t<std::is_same_v<Counter, uint32_t>, std::byte , congestion_control::v2::Stats> storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::congestion_control {}

Congestion control statistics.

Definition at line 125 of file statistics.hpp.

◆ connection

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
ConnectionStatistics<Counter, MmaAccumulator> storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::connection

Connection statistics.

Definition at line 109 of file statistics.hpp.

◆ connection_percentile

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
PercentileAccumulator storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::connection_percentile

Connect time percentile.

Definition at line 119 of file statistics.hpp.

◆ pool_exhaust_errors

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
Counter storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::pool_exhaust_errors = 0

Error caused by pool exhaustion.

Definition at line 115 of file statistics.hpp.

◆ queue_size_errors

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
Counter storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::queue_size_errors = 0

Error caused by queue size overflow.

Definition at line 117 of file statistics.hpp.

◆ topology

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
InstanceTopologyStatistics<MmaAccumulator> storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::topology

Topology statistics.

Definition at line 113 of file statistics.hpp.

◆ transaction

template<typename Counter , typename PercentileAccumulator , typename MmaAccumulator >
TransactionStatistics<Counter, PercentileAccumulator> storages::postgres::InstanceStatisticsTemplate< Counter, PercentileAccumulator, MmaAccumulator >::transaction

Transaction statistics.

Definition at line 111 of file statistics.hpp.


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