#include <userver/storages/postgres/statistics.hpp>
Template transaction statistics storage.
Definition at line 27 of file statistics.hpp.
Public Attributes | |
| RateCounter | total {} |
| Number of transactions started. | |
| RateCounter | commit_total {} |
| Number of transactions committed. | |
| RateCounter | rollback_total {} |
| Number of transactions rolled back. | |
| RateCounter | out_of_trx_total {} |
| Number of out-of-transaction executions. | |
| RateCounter | parse_total {} |
| Number of parsed queries. | |
| RateCounter | execute_total {} |
| Number of query executions. | |
| RateCounter | reply_total {} |
| Total number of replies. | |
| RateCounter | portal_bind_total {} |
| Number of portal bind operations. | |
| RateCounter | error_execute_total {} |
| Error during query execution. | |
| RateCounter | execute_timeout {} |
| Timeout while executing query. | |
| RateCounter | duplicate_prepared_statements {} |
| PercentileAccumulator | total_percentile |
| Transaction overall execution time distribution. | |
| PercentileAccumulator | busy_percentile |
| Transaction aggregated query execution time distribution. | |
| PercentileAccumulator | wait_start_percentile |
| PercentileAccumulator | wait_end_percentile |
| PercentileAccumulator | return_to_pool_percentile |
| PercentileAccumulator storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::busy_percentile |
Transaction aggregated query execution time distribution.
Definition at line 59 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::commit_total {} |
Number of transactions committed.
Definition at line 31 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::duplicate_prepared_statements {} |
Duplicate prepared statements This is not a hard error, the prepared statements are quite reusable due to pretty uniqueness of names. Nevertheless we would like to see them to diagnose certain kinds of problems
Definition at line 52 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::error_execute_total {} |
Error during query execution.
Definition at line 45 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::execute_timeout {} |
Timeout while executing query.
Definition at line 47 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::execute_total {} |
Number of query executions.
Definition at line 39 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::out_of_trx_total {} |
Number of out-of-transaction executions.
Definition at line 35 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::parse_total {} |
Number of parsed queries.
Definition at line 37 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::portal_bind_total {} |
Number of portal bind operations.
Definition at line 43 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::reply_total {} |
Total number of replies.
Definition at line 41 of file statistics.hpp.
| PercentileAccumulator storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::return_to_pool_percentile |
Return to pool percentile (difference between trx_end_time and time the connection has been returned to the pool)
Definition at line 68 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::rollback_total {} |
Number of transactions rolled back.
Definition at line 33 of file statistics.hpp.
| RateCounter storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::total {} |
Number of transactions started.
Definition at line 29 of file statistics.hpp.
| PercentileAccumulator storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::total_percentile |
Transaction overall execution time distribution.
Definition at line 57 of file statistics.hpp.
| PercentileAccumulator storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::wait_end_percentile |
Transaction wait for pool time (difference between last_execute_finish and trx_end_time)
Definition at line 65 of file statistics.hpp.
| PercentileAccumulator storages::postgres::TransactionStatistics< GaugeCounter, RateCounter, PercentileAccumulator >::wait_start_percentile |
Transaction wait for pool time (difference between trx_start_time and work_start_time)
Definition at line 62 of file statistics.hpp.