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

Detailed Description

Definition at line 72 of file base.hpp.

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 storages::redis::MetricsSettings::Level
strong

Definition at line 73 of file base.hpp.

Constructor & Destructor Documentation

◆ MetricsSettings()

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

Definition at line 100 of file base.hpp.

Member Function Documentation

◆ GetMetricsLevel()

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

Definition at line 114 of file base.hpp.

◆ IsCommandTimingsEnabled()

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

Definition at line 116 of file base.hpp.

◆ IsReplySizesEnabled()

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

Definition at line 118 of file base.hpp.

◆ IsRequestSizesEnabled()

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

Definition at line 117 of file base.hpp.

◆ IsTimingsEnabled()

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

Definition at line 115 of file base.hpp.

◆ operator!=()

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

Definition at line 112 of file base.hpp.

◆ operator==()

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

Definition at line 108 of file base.hpp.

Member Data Documentation

◆ dynamic_settings

DynamicSettings storages::redis::MetricsSettings::dynamic_settings

Definition at line 98 of file base.hpp.

◆ static_settings

StaticSettings storages::redis::MetricsSettings::static_settings

Definition at line 97 of file base.hpp.


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