ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
telemetry_stats Struct Referencefinal

Aggregated telemetry statistics for a time period. More...

#include <telemetry_stats.hpp>

Collaboration diagram for telemetry_stats:
Collaboration graph

Public Attributes

std::chrono::system_clock::time_point period_start
 Start of the aggregation period.
 
telemetry_source source = telemetry_source::client
 Source type (client or server).
 
std::string source_name
 Source application name.
 
std::string component
 Component name.
 
std::string level
 Log level.
 
std::uint64_t log_count = 0
 Total log count for this combination.
 
std::uint32_t unique_sessions = 0
 Number of unique sessions that generated logs.
 
std::uint32_t unique_accounts = 0
 Number of unique accounts that generated logs.
 

Detailed Description

Aggregated telemetry statistics for a time period.

This structure represents pre-computed statistics from the TimescaleDB continuous aggregates, enabling fast dashboard queries.

Member Data Documentation

◆ period_start

std::chrono::system_clock::time_point period_start

Start of the aggregation period.

For hourly stats, this is the start of the hour. For daily stats, this is the start of the day (00:00:00 UTC).

◆ source_name

std::string source_name

Source application name.

May be empty for aggregate stats across all sources.

◆ component

std::string component

Component name.

Only populated for daily stats with component breakdown. Empty for hourly stats or aggregate views.