Aggregated session statistics for a time period.
More...
#include <session.hpp>
|
|
std::chrono::system_clock::time_point | period_start |
| | Start of the time period.
|
| |
|
std::chrono::system_clock::time_point | period_end |
| | End of the time period.
|
| |
|
boost::uuids::uuid | account_id |
| | Account ID if statistics are per-account, nil for aggregate.
|
| |
|
std::uint64_t | session_count = 0 |
| | Total number of sessions in this period.
|
| |
|
double | avg_duration_seconds = 0.0 |
| | Average session duration in seconds.
|
| |
|
std::uint64_t | total_bytes_sent = 0 |
| | Total bytes sent across all sessions.
|
| |
|
std::uint64_t | total_bytes_received = 0 |
| | Total bytes received across all sessions.
|
| |
|
double | avg_bytes_sent = 0.0 |
| | Average bytes sent per session.
|
| |
|
double | avg_bytes_received = 0.0 |
| | Average bytes received per session.
|
| |
|
std::uint32_t | unique_countries = 0 |
| | Number of unique countries from which sessions originated.
|
| |
Aggregated session statistics for a time period.