SQLite-specific counters layered on common database telemetry. More...
#include <StormByte/database/sqlite/telemetry.hxx>


Public Member Functions | |
| Telemetry () noexcept | |
| Construct zeroed SQLite counters. | |
| ~Telemetry () noexcept override | |
| Out-of-line virtual destructor for DLL-safe destruction. | |
| std::uint64_t | BusyErrors () const noexcept |
| SQLite BUSY/LOCKED failures. | |
| std::uint64_t | ConstraintErrors () const noexcept |
| SQLite constraint failures. | |
| std::uint64_t | IoErrors () const noexcept |
| SQLite I/O failures. | |
| std::uint64_t | CorruptionErrors () const noexcept |
| SQLite corrupt or malformed database failures. | |
| operator StormByte::String::String () const override | |
| Flatten common and SQLite-specific metrics. | |
Public Member Functions inherited from StormByte::Database::Telemetry | |
| Telemetry () noexcept | |
| Construct zeroed counters. | |
| OperationMetrics | Metrics (Operation operation) const noexcept |
| Obtain a thread-safe metrics snapshot for an operation. | |
| std::uint64_t | RowsReturned () const noexcept |
| Total rows successfully returned by Query and prepared statements. | |
| std::uint64_t | Events (BackendEvent event) const noexcept |
| Number of backend events in a shared category. | |
| STORMBYTE_FORCE_INLINE | operator std::string () const |
| Flatten counters into a caller-owned standard string. | |
Friends | |
| class | SQLite3 |
| class | PreparedSTMT |
Additional Inherited Members | |
Protected Member Functions inherited from StormByte::Database::Telemetry | |
| Telemetry (const Telemetry &)=delete | |
| Copying counters is disabled. | |
| Telemetry (Telemetry &&)=delete | |
| Moving counters is disabled. | |
| Telemetry & | operator= (const Telemetry &)=delete |
| Copy assignment is disabled. | |
| Telemetry & | operator= (Telemetry &&)=delete |
| Move assignment is disabled. | |
| void | RecordEvents (BackendEvent event, std::uint64_t count) noexcept |
| Add a known number of occurrences for one backend event. | |
SQLite-specific counters layered on common database telemetry.
|
noexcept |
Construct zeroed SQLite counters.
|
overridevirtualnoexcept |
Out-of-line virtual destructor for DLL-safe destruction.
Reimplemented from StormByte::Database::Telemetry.
|
noexcept |
SQLite BUSY/LOCKED failures.
|
noexcept |
SQLite constraint failures.
|
noexcept |
SQLite corrupt or malformed database failures.
|
noexcept |
SQLite I/O failures.
|
overridevirtual |
Flatten common and SQLite-specific metrics.
Reimplemented from StormByte::Database::Telemetry.
|
friend |
|
friend |