|
Lightweight 0.20260921.0
|
#include <SqlStatistics.hpp>
Public Member Functions | |
| constexpr std::uint64_t | Total () const noexcept |
Public Attributes | |
| std::uint64_t | succeeded {} |
| Number of operations that completed without raising an ODBC error. | |
| std::uint64_t | failed {} |
| Number of operations that raised an ODBC error. | |
| std::uint64_t | retried {} |
| SqlLatencyHistogram | latency {} |
| Latency distribution across both successful and failed operations. | |
Aggregated counters and latency for one SqlStatisticsOperation class.
Definition at line 133 of file SqlStatistics.hpp.
|
inlineconstexprnoexcept |
Retrieves the total number of operations recorded.
succeeded + failed. Definition at line 152 of file SqlStatistics.hpp.
| std::uint64_t Lightweight::SqlOperationStatistics::succeeded {} |
Number of operations that completed without raising an ODBC error.
Definition at line 136 of file SqlStatistics.hpp.
Referenced by Total().
| std::uint64_t Lightweight::SqlOperationStatistics::failed {} |
Number of operations that raised an ODBC error.
Definition at line 139 of file SqlStatistics.hpp.
Referenced by Total().
| std::uint64_t Lightweight::SqlOperationStatistics::retried {} |
Number of operations that were transparently retried (e.g. a stale prepared statement re-prepared and re-executed). A retried operation is counted once here and once in succeeded or failed according to its final outcome.
Definition at line 144 of file SqlStatistics.hpp.
| SqlLatencyHistogram Lightweight::SqlOperationStatistics::latency {} |
Latency distribution across both successful and failed operations.
Definition at line 147 of file SqlStatistics.hpp.