userver: redis::MetricsSettings Struct Reference
Loading...
Searching...
No Matches
redis::MetricsSettings Struct Reference

Detailed Description

Definition at line 129 of file base.hpp.

+ Collaboration diagram for redis::MetricsSettings:

Classes

struct  DynamicSettings
 
struct  StaticSettings
 

Public Types

enum class  Level {
  kCluster ,
  kShard ,
  kInstance
}
 

Public Member Functions

 MetricsSettings (const DynamicSettings &dynamic_settings, const StaticSettings &static_settings)
 
 MetricsSettings (const MetricsSettings &)=default
 
 MetricsSettings (MetricsSettings &&)=default
 
MetricsSettingsoperator= (const MetricsSettings &)=default
 
MetricsSettingsoperator= (MetricsSettings &&)=default
 
constexpr bool operator== (const MetricsSettings &rhs) const
 
constexpr bool operator!= (const MetricsSettings &rhs) const
 
Level GetMetricsLevel () const
 
bool IsTimingsEnabled () const
 
bool IsCommandTimingsEnabled () const
 
bool IsRequestSizesEnabled () const
 
bool IsReplySizesEnabled () const
 

Public Attributes

StaticSettings static_settings
 
DynamicSettings dynamic_settings
 

Member Enumeration Documentation

◆ Level

enum class redis::MetricsSettings::Level
strong

Definition at line 130 of file base.hpp.

Constructor & Destructor Documentation

◆ MetricsSettings()

redis::MetricsSettings::MetricsSettings ( const DynamicSettings & dynamic_settings,
const StaticSettings & static_settings )
inline

Definition at line 165 of file base.hpp.

Member Function Documentation

◆ GetMetricsLevel()

Level redis::MetricsSettings::GetMetricsLevel ( ) const
inline

Definition at line 183 of file base.hpp.

◆ IsCommandTimingsEnabled()

bool redis::MetricsSettings::IsCommandTimingsEnabled ( ) const
inline

Definition at line 185 of file base.hpp.

◆ IsReplySizesEnabled()

bool redis::MetricsSettings::IsReplySizesEnabled ( ) const
inline

Definition at line 191 of file base.hpp.

◆ IsRequestSizesEnabled()

bool redis::MetricsSettings::IsRequestSizesEnabled ( ) const
inline

Definition at line 188 of file base.hpp.

◆ IsTimingsEnabled()

bool redis::MetricsSettings::IsTimingsEnabled ( ) const
inline

Definition at line 184 of file base.hpp.

◆ operator!=()

constexpr bool redis::MetricsSettings::operator!= ( const MetricsSettings & rhs) const
inlineconstexpr

Definition at line 179 of file base.hpp.

◆ operator==()

constexpr bool redis::MetricsSettings::operator== ( const MetricsSettings & rhs) const
inlineconstexpr

Definition at line 174 of file base.hpp.

Member Data Documentation

◆ dynamic_settings

DynamicSettings redis::MetricsSettings::dynamic_settings

Definition at line 163 of file base.hpp.

◆ static_settings

StaticSettings redis::MetricsSettings::static_settings

Definition at line 162 of file base.hpp.


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