24 std::uint64_t BusyErrors() const noexcept;
26 std::uint64_t ConstraintErrors() const noexcept;
28 std::uint64_t IoErrors() const noexcept;
30 std::uint64_t CorruptionErrors() const noexcept;
36 void RecordSQLiteResult(
int result_code) noexcept;
38 std::atomic<
std::uint64_t> m_corruption_errors{0};
39 std::atomic<std::uint64_t> m_busy_errors{0};
40 std::atomic<std::uint64_t> m_constraint_errors{0};
41 std::atomic<std::uint64_t> m_io_errors{0};
SQLite prepared statement.
Definition prepared_stmt.hxx:69
SQLite3 backend.
Definition sqlite3.hxx:76
SQLite-specific counters layered on common database telemetry.
Definition telemetry.hxx:17
Telemetry() noexcept
Construct zeroed SQLite counters.
Thread-safe cumulative telemetry for one database connection.
Definition telemetry.hxx:96
SQLite backend of the Database module.
BackendEvent
Shared error and warning categories for backend-specific telemetry.
Definition telemetry.hxx:54
Root namespace of the StormByte C++ suite.
#define STORMBYTE_DATABASE_PUBLIC
Definition visibility.h:54