|
ORE Studio 0.0.4
|
Request to submit a batch of log records to the server. More...
#include <log_records_protocol.hpp>

Public Member Functions | |
| std::vector< std::byte > | serialize () const |
| Serialize request to bytes. | |
Static Public Member Functions | |
| static std::expected< submit_log_records_request, ores::utility::serialization::error_code > | deserialize (std::span< const std::byte > data) |
| Deserialize request from bytes. | |
Public Attributes | |
| std::vector< domain::log_record > | records |
| The batch of log records to submit. | |
Request to submit a batch of log records to the server.
This is a fire-and-forget message. The client does not wait for a response and continues processing immediately. The server stores the records in the telemetry database for analysis and correlation.
Records should be batched for efficiency. Typical batch sizes are 50-100 records, or send when a flush interval (e.g., 5 seconds) has elapsed.
| std::vector< std::byte > serialize | ( | ) | const |
Serialize request to bytes.
Format: