Template transaction statistics storage. More...
#include <userver/storages/postgres/statistics.hpp>
Public Attributes | |
Counter | total = 0 |
Number of transactions started. | |
Counter | commit_total = 0 |
Number of transactions committed. | |
Counter | rollback_total = 0 |
Number of transactions rolled back. | |
Counter | out_of_trx_total = 0 |
Number of out-of-transaction executions. | |
Counter | parse_total = 0 |
Number of parsed queries. | |
Counter | execute_total = 0 |
Number of query executions. | |
Counter | reply_total = 0 |
Total number of replies. | |
Counter | portal_bind_total {0} |
Number of portal bind operations. | |
Counter | error_execute_total = 0 |
Error during query execution. | |
Counter | execute_timeout = 0 |
Timeout while executing query. | |
Counter | duplicate_prepared_statements = 0 |
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 |
Template transaction statistics storage.
Definition at line 24 of file statistics.hpp.
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::busy_percentile |
Transaction aggregated query execution time distribution.
Definition at line 56 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::commit_total = 0 |
Number of transactions committed.
Definition at line 28 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::duplicate_prepared_statements = 0 |
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 49 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::error_execute_total = 0 |
Error during query execution.
Definition at line 42 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::execute_timeout = 0 |
Timeout while executing query.
Definition at line 44 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::execute_total = 0 |
Number of query executions.
Definition at line 36 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::out_of_trx_total = 0 |
Number of out-of-transaction executions.
Definition at line 32 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::parse_total = 0 |
Number of parsed queries.
Definition at line 34 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::portal_bind_total {0} |
Number of portal bind operations.
Definition at line 40 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::reply_total = 0 |
Total number of replies.
Definition at line 38 of file statistics.hpp.
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, 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 65 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::rollback_total = 0 |
Number of transactions rolled back.
Definition at line 30 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::total = 0 |
Number of transactions started.
Definition at line 26 of file statistics.hpp.
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::total_percentile |
Transaction overall execution time distribution.
Definition at line 54 of file statistics.hpp.
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::wait_end_percentile |
Transaction wait for pool time (difference between last_execute_finish and trx_end_time)
Definition at line 62 of file statistics.hpp.
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::wait_start_percentile |
Transaction wait for pool time (difference between trx_start_time and work_start_time)
Definition at line 59 of file statistics.hpp.