userver: storages::postgres::ClusterStatistics Struct Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
storages::postgres::ClusterStatistics Struct Reference

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

Detailed Description

Cluster statistics storage.

Definition at line 239 of file statistics.hpp.

+ Collaboration diagram for storages::postgres::ClusterStatistics:

Public Attributes

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

◆ master

InstanceStatsDescriptor storages::postgres::ClusterStatistics::master

Master instance statistics.

Definition at line 241 of file statistics.hpp.

◆ slaves

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

Slave instances statistics.

Definition at line 245 of file statistics.hpp.

◆ sync_slave

InstanceStatsDescriptor storages::postgres::ClusterStatistics::sync_slave

Sync slave instance statistics.

Definition at line 243 of file statistics.hpp.

◆ unknown

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

Unknown/unreachable instances statistics.

Definition at line 247 of file statistics.hpp.


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