20#ifndef ORES_TELEMETRY_DOMAIN_NATS_SERVER_SAMPLE_HPP
21#define ORES_TELEMETRY_DOMAIN_NATS_SERVER_SAMPLE_HPP
Domain types for telemetry and observability.
Definition attribute_value.hpp:29
A single point-in-time sample of NATS server-level metrics.
Definition nats_server_sample.hpp:34
std::uint64_t in_bytes
Total inbound bytes since server start.
Definition nats_server_sample.hpp:49
int connections
Current number of client connections.
Definition nats_server_sample.hpp:55
int slow_consumers
Number of slow consumers detected since server start.
Definition nats_server_sample.hpp:66
std::uint64_t out_msgs
Total outbound messages since server start.
Definition nats_server_sample.hpp:46
std::chrono::system_clock::time_point sampled_at
When this sample was taken.
Definition nats_server_sample.hpp:40
std::uint64_t out_bytes
Total outbound bytes since server start.
Definition nats_server_sample.hpp:52
std::uint64_t mem_bytes
Server process resident memory in bytes.
Definition nats_server_sample.hpp:58
std::uint64_t in_msgs
Total inbound messages since server start.
Definition nats_server_sample.hpp:43