ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | Static Public Attributes | List of all members
session_sample_entity Struct Reference

Entity for a single time-series sample in the session samples hypertable. More...

#include <session_entity.hpp>

Collaboration diagram for session_sample_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< std::string > session_id
 Session UUID — part of composite primary key.
 
std::string tenant_id
 Tenant identifier for multi-tenancy isolation (RLS).
 
sqlgen::PrimaryKey< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > sample_time
 Sample timestamp — part of composite primary key and partition column.
 
std::int64_t bytes_sent = 0
 Cumulative bytes sent at sample time.
 
std::int64_t bytes_received = 0
 Cumulative bytes received at sample time.
 
std::int64_t latency_ms = 0
 Round-trip time reported by the client in this ping, in milliseconds.
 

Static Public Attributes

static constexpr const char * schema = "public"
 
static constexpr const char * tablename = "ores_iam_session_samples_tbl"
 

Detailed Description

Entity for a single time-series sample in the session samples hypertable.