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

Entity for a single JetStream stream metrics sample. More...

#include <telemetry_entity.hpp>

Collaboration diagram for nats_stream_sample_entity:
Collaboration graph

Public Attributes

sqlgen::PrimaryKey< sqlgen::Timestamp<"%Y-%m-%d %H:%M:%S"> > sampled_at
 
sqlgen::PrimaryKey< std::string > tenant_id
 
sqlgen::PrimaryKey< std::string > stream_name
 
std::int64_t messages {0}
 
std::int64_t bytes {0}
 
int consumer_count {0}
 

Static Public Attributes

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

Detailed Description

Entity for a single JetStream stream metrics sample.

Maps to the ores_telemetry_nats_stream_samples_tbl hypertable.