ORE Studio 0.0.4
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
ores::telemetry::exporting Namespace Reference

Log export functionality for telemetry. More...

Classes

class  file_log_exporter
 Exports log records to a JSON Lines file. More...
 
class  hybrid_log_exporter
 Hybrid exporter that writes to file and optionally streams to server. More...
 
class  log_exporter
 Interface for exporting telemetry log records. More...
 
class  telemetry_configuration
 Centralized manager for telemetry export configuration parsing. More...
 
struct  telemetry_options
 Options related to telemetry export. More...
 
class  upload_position_tracker
 Tracks the upload position for telemetry log files. More...
 

Typedefs

using send_records_callback = std::function< bool(std::vector< domain::log_record >)>
 Callback type for sending batched records to the server.
 

Functions

std::ostream & operator<< (std::ostream &s, const telemetry_options &v)
 

Detailed Description

Log export functionality for telemetry.

Contains log exporters including file-based and hybrid exporters for persisting log records. Includes configuration types for export settings.

Typedef Documentation

◆ send_records_callback

using send_records_callback = std::function<bool(std::vector<domain::log_record>)>

Callback type for sending batched records to the server.

The callback receives a vector of log records to send. It should return true if the records were successfully queued for sending (fire-and-forget), or false if the connection is not available.

The callback is expected to be non-blocking. The actual send may happen asynchronously.