userver: userver/storages/sqlite/infra/statistics/statistics.hpp File Reference
Loading...
Searching...
No Matches
statistics.hpp File Reference

Detailed Description

SQLite pool statistics structs and metric dump helpers.

Definition in file statistics.hpp.

Go to the source code of this file.

This graph shows which files directly or indirectly include this file:

Classes

struct  storages::sqlite::infra::statistics::PoolConnectionStatistics
struct  storages::sqlite::infra::statistics::PoolQueriesStatistics
struct  storages::sqlite::infra::statistics::PoolTransactionsStatistics
struct  storages::sqlite::infra::statistics::PoolTransactionsStatisticsAggregated
struct  storages::sqlite::infra::statistics::PoolStatistics
struct  storages::sqlite::infra::statistics::AggregatedInstanceStatistics

Namespaces

namespace  storages
 Components, clients and helpers for different databases and storages.

Typedefs

using storages::sqlite::infra::statistics::RateCounter = utils::statistics::RateCounter

Functions

void storages::sqlite::infra::statistics::DumpMetric (utils::statistics::Writer &writer, const AggregatedInstanceStatistics &stats)
void storages::sqlite::infra::statistics::DumpMetric (utils::statistics::Writer &writer, const PoolQueriesStatistics &stats)
void storages::sqlite::infra::statistics::DumpMetric (utils::statistics::Writer &writer, const PoolConnectionStatistics &stats)
void storages::sqlite::infra::statistics::DumpMetric (utils::statistics::Writer &writer, const PoolTransactionsStatistics &stats)

Variables

constexpr double storages::sqlite::infra::statistics::kDefaultBoundsArray [] = {5, 10, 20, 35, 60, 100, 173, 300, 520}

Typedef Documentation

◆ RateCounter

using storages::sqlite::infra::statistics::RateCounter = utils::statistics::RateCounter

Definition at line 16 of file statistics.hpp.

Variable Documentation

◆ kDefaultBoundsArray

double storages::sqlite::infra::statistics::kDefaultBoundsArray[] = {5, 10, 20, 35, 60, 100, 173, 300, 520}
inlineconstexpr

Definition at line 18 of file statistics.hpp.