#include <userver/storages/postgres/statistics.hpp>
Template transaction statistics storage.
Definition at line 25 of file 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 |
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::busy_percentile |
Transaction aggregated query execution time distribution.
Definition at line 57 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::commit_total = 0 |
Number of transactions committed.
Definition at line 29 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 50 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::error_execute_total = 0 |
Error during query execution.
Definition at line 43 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::execute_timeout = 0 |
Timeout while executing query.
Definition at line 45 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::execute_total = 0 |
Number of query executions.
Definition at line 37 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::out_of_trx_total = 0 |
Number of out-of-transaction executions.
Definition at line 33 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::parse_total = 0 |
Number of parsed queries.
Definition at line 35 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::portal_bind_total {0} |
Number of portal bind operations.
Definition at line 41 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::reply_total = 0 |
Total number of replies.
Definition at line 39 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 66 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::rollback_total = 0 |
Number of transactions rolled back.
Definition at line 31 of file statistics.hpp.
Counter storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::total = 0 |
Number of transactions started.
Definition at line 27 of file statistics.hpp.
PercentileAccumulator storages::postgres::TransactionStatistics< Counter, PercentileAccumulator >::total_percentile |
Transaction overall execution time distribution.
Definition at line 55 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 63 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 60 of file statistics.hpp.