26 std::uint64_t SerializationConflicts() const noexcept;
28 std::uint64_t Deadlocks() const noexcept;
30 std::uint64_t ConnectionErrors() const noexcept;
36 void RecordSqlState(
std::string_view sql_state) noexcept;
38 std::atomic<
std::uint64_t> m_serialization_conflicts{0};
39 std::atomic<std::uint64_t> m_deadlocks{0};
40 std::atomic<std::uint64_t> m_connection_errors{0};
PostgreSQL backend.
Definition postgres.hxx:76
PostgreSQL prepared statement (PQexecPrepared).
Definition prepared_stmt.hxx:73
PostgreSQL-specific counters layered on common database telemetry.
Definition telemetry.hxx:19
Telemetry() noexcept
Construct zeroed PostgreSQL counters.
PostgreSQL backend of the Database module.