|
ORE Studio 0.0.4
|
A batch of telemetry log entries from a single source. More...
#include <telemetry_batch.hpp>

Public Attributes | |
| telemetry_source | source = telemetry_source::client |
| Source type (client or server). | |
| std::string | source_name |
| Name of the source application. | |
| std::vector< telemetry_log_entry > | entries |
| The log entries in this batch. | |
A batch of telemetry log entries from a single source.
Batching improves network efficiency and database insert performance. Clients should batch logs and submit them periodically (e.g., every 5 seconds or when a batch size threshold is reached).
| std::string source_name |
Name of the source application.
This is set once per batch rather than per-entry for efficiency. Examples: "ores.qt", "ores.comms.shell", "ores.comms.service"