userver: storages::postgres::ClusterStatistics Struct Reference
Loading...
Searching...
No Matches
storages::postgres::ClusterStatistics Struct Reference

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

Detailed Description

Cluster statistics storage.

Definition at line 222 of file statistics.hpp.

Public Attributes

bool connlimit_mode_auto_on {false}
 Connlimit mode auto is on.
 
InstanceStatsDescriptor master
 Master instance statistics.
 
InstanceStatsDescriptor sync_slave
 Sync slave instance statistics.
 
std::vector< InstanceStatsDescriptorslaves
 Slave instances statistics.
 
std::vector< InstanceStatsDescriptorunknown
 Unknown/unreachable instances statistics.
 

Member Data Documentation

◆ connlimit_mode_auto_on

bool storages::postgres::ClusterStatistics::connlimit_mode_auto_on {false}

Connlimit mode auto is on.

Definition at line 224 of file statistics.hpp.

◆ master

InstanceStatsDescriptor storages::postgres::ClusterStatistics::master

Master instance statistics.

Definition at line 226 of file statistics.hpp.

◆ slaves

std::vector<InstanceStatsDescriptor> storages::postgres::ClusterStatistics::slaves

Slave instances statistics.

Definition at line 230 of file statistics.hpp.

◆ sync_slave

InstanceStatsDescriptor storages::postgres::ClusterStatistics::sync_slave

Sync slave instance statistics.

Definition at line 228 of file statistics.hpp.

◆ unknown

std::vector<InstanceStatsDescriptor> storages::postgres::ClusterStatistics::unknown

Unknown/unreachable instances statistics.

Definition at line 232 of file statistics.hpp.


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