StormByte-Database 2.0.0
C++26 database module of the StormByte suite
 
Loading...
Searching...
No Matches
telemetry.hxx File Reference
#include <StormByte/database/visibility.h>
#include <StormByte/safe_pointers.hxx>
#include <StormByte/string/string.hxx>
#include <array>
#include <atomic>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <string>
Include dependency graph for telemetry.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StormByte::Database::OperationMetrics
 Immutable view of cumulative metrics for one operation category. More...
 
class  StormByte::Database::Telemetry
 Thread-safe cumulative telemetry for one database connection. More...
 
class  StormByte::Database::Telemetry::OperationScope
 Records one operation and its elapsed time on destruction. More...
 

Namespaces

namespace  StormByte
 Root namespace of the StormByte C++ suite.
 
namespace  StormByte::Database
 Database module of the StormByte suite.
 

Enumerations

enum class  StormByte::Database::Operation : std::uint8_t {
  StormByte::Database::Connect , StormByte::Database::Disconnect , StormByte::Database::Query , StormByte::Database::SilentQuery ,
  StormByte::Database::PrepareStatement , StormByte::Database::PreparedStatement , StormByte::Database::BeginTransaction , StormByte::Database::CommitTransaction ,
  StormByte::Database::RollbackTransaction , StormByte::Database::Count
}
 Database operation categories measured by telemetry. More...
 
enum class  StormByte::Database::BackendEvent : std::uint8_t {
  StormByte::Database::Warning , StormByte::Database::Busy , StormByte::Database::Constraint , StormByte::Database::Io ,
  StormByte::Database::Connection , StormByte::Database::Serialization , StormByte::Database::Deadlock , StormByte::Database::LockTimeout ,
  StormByte::Database::Other , StormByte::Database::Count
}
 Shared error and warning categories for backend-specific telemetry. More...