20#ifndef ORES_TELEMETRY_DOMAIN_NATS_STREAM_SAMPLE_HPP
21#define ORES_TELEMETRY_DOMAIN_NATS_STREAM_SAMPLE_HPP
Domain types for telemetry and observability.
Definition attribute_value.hpp:29
A single point-in-time sample of a JetStream stream's metrics.
Definition nats_stream_sample.hpp:36
int consumer_count
Number of active consumers on this stream.
Definition nats_stream_sample.hpp:62
std::chrono::system_clock::time_point sampled_at
When this sample was taken.
Definition nats_stream_sample.hpp:42
std::uint64_t messages
Number of messages currently stored in the stream.
Definition nats_stream_sample.hpp:52
std::uint64_t bytes
Total bytes currently stored in the stream.
Definition nats_stream_sample.hpp:55
std::string stream_name
JetStream stream name (e.g. "ORES_TRADES").
Definition nats_stream_sample.hpp:49