userver: storages::postgres::StatementMetricsSettings Struct Reference
Loading...
Searching...
No Matches
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 274 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 278 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 276 of file options.hpp.


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