20#ifndef ORES_TELEMETRY_DOMAIN_TELEMETRY_STATS_HPP
21#define ORES_TELEMETRY_DOMAIN_TELEMETRY_STATS_HPP
26#include "ores.telemetry/domain/telemetry_source.hpp"
Domain types for telemetry and observability.
Definition attribute_value.hpp:29
telemetry_source
Source type for telemetry log entries.
Definition telemetry_source.hpp:33
@ client
Log entry from a client application.
Aggregated telemetry statistics for a time period.
Definition telemetry_stats.hpp:36
std::uint64_t log_count
Total log count for this combination.
Definition telemetry_stats.hpp:73
std::string level
Log level.
Definition telemetry_stats.hpp:68
telemetry_source source
Source type (client or server).
Definition telemetry_stats.hpp:48
std::chrono::system_clock::time_point period_start
Start of the aggregation period.
Definition telemetry_stats.hpp:43
std::uint32_t unique_sessions
Number of unique sessions that generated logs.
Definition telemetry_stats.hpp:78
std::string component
Component name.
Definition telemetry_stats.hpp:63
std::string source_name
Source application name.
Definition telemetry_stats.hpp:55
std::uint32_t unique_accounts
Number of unique accounts that generated logs.
Definition telemetry_stats.hpp:83
Summary statistics for a telemetry overview.
Definition telemetry_stats.hpp:91
std::uint64_t total_logs
Total log count.
Definition telemetry_stats.hpp:105
std::chrono::system_clock::time_point end_time
Time range end.
Definition telemetry_stats.hpp:100
std::uint64_t error_count
Error log count.
Definition telemetry_stats.hpp:110
std::uint32_t unique_sessions
Number of unique sessions.
Definition telemetry_stats.hpp:140
std::uint64_t info_count
Info log count.
Definition telemetry_stats.hpp:120
std::uint64_t trace_count
Trace log count.
Definition telemetry_stats.hpp:130
std::uint32_t unique_sources
Number of unique source applications.
Definition telemetry_stats.hpp:135
std::chrono::system_clock::time_point start_time
Time range start.
Definition telemetry_stats.hpp:95
std::uint64_t debug_count
Debug log count.
Definition telemetry_stats.hpp:125
std::uint64_t warn_count
Warning log count.
Definition telemetry_stats.hpp:115
std::uint32_t unique_accounts
Number of unique accounts.
Definition telemetry_stats.hpp:145