userver: storages::postgres::StatementMetricsSettings 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::StatementMetricsSettings Struct Referencefinal

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

Detailed Description

PostgreSQL statements metrics options.

Dynamic option POSTGRES_STATEMENT_METRICS_SETTINGS

Definition at line 289 of file options.hpp.

Public Member Functions

bool operator== (const StatementMetricsSettings &other) const
 

Public Attributes

std::size_t max_statements {0}
 Store metrics in LRU of this size.
 

Member Function Documentation

◆ operator==()

bool storages::postgres::StatementMetricsSettings::operator== ( const StatementMetricsSettings & other) const
inline

Definition at line 293 of file options.hpp.

Member Data Documentation

◆ max_statements

std::size_t storages::postgres::StatementMetricsSettings::max_statements {0}

Store metrics in LRU of this size.

Definition at line 291 of file options.hpp.


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