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

PostgreSQL statements metrics options. More...

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

Public Member Functions

bool operator== (const StatementMetricsSettings &other) const
 

Public Attributes

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

Detailed Description

PostgreSQL statements metrics options.

Dynamic option POSTGRES_STATEMENT_METRICS_SETTINGS

Definition at line 267 of file options.hpp.

Member Function Documentation

◆ operator==()

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

Definition at line 271 of file options.hpp.

Member Data Documentation

◆ max_statements

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

Store metrics in LRU of this size.

Definition at line 269 of file options.hpp.


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