Entity for a single time-series sample in the session samples hypertable.
More...
#include <session_entity.hpp>
|
|
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 constexpr const char * | schema = "public" |
| |
|
static constexpr const char * | tablename = "ores_iam_session_samples_tbl" |
| |
Entity for a single time-series sample in the session samples hypertable.