20#ifndef ORES_IAM_MESSAGING_SESSION_SAMPLES_PROTOCOL_HPP
21#define ORES_IAM_MESSAGING_SESSION_SAMPLES_PROTOCOL_HPP
27namespace ores::iam::messaging {
33 std::uint64_t sample_time_ms = 0;
34 std::uint64_t bytes_sent = 0;
35 std::uint64_t bytes_received = 0;
38struct get_session_samples_request {
39 using response_type =
struct get_session_samples_response;
40 static constexpr std::string_view nats_subject =
"iam.v1.sessions.samples";
41 std::string session_id;
44struct get_session_samples_response {
45 std::vector<session_sample_dto> samples;
Time-series sample for session telemetry.
Definition session_samples_protocol.hpp:32