|
ORE Studio 0.0.4
|
Configuration options for telemetry streaming. More...
#include <telemetry_streaming_service.hpp>

Public Attributes | |
| std::string | source_name |
| Name of the source application. | |
| std::string | source_version |
| Version of the source application. | |
| std::size_t | batch_size = 50 |
| Maximum number of log records per batch. | |
| std::chrono::seconds | flush_interval {5} |
| Maximum time to wait before sending a batch. | |
| bool | retry_on_failure = true |
| Whether to retry failed submissions. | |
| std::size_t | max_pending_records = 1000 |
| Maximum number of records to keep pending when disconnected. | |
Configuration options for telemetry streaming.
| std::string source_name |
Name of the source application.
Examples: "ores.qt", "ores.comms.shell"
| std::size_t batch_size = 50 |
Maximum number of log records per batch.
When this threshold is reached, the batch is sent immediately. Default: 50
| std::chrono::seconds flush_interval {5} |
Maximum time to wait before sending a batch.
If this interval elapses without reaching batch_size, the batch is sent anyway. Default: 5 seconds
| bool retry_on_failure = true |
Whether to retry failed submissions.
If true, failed batches are retried on the next flush cycle. Default: true
| std::size_t max_pending_records = 1000 |
Maximum number of records to keep pending when disconnected.
If this limit is reached, oldest records are dropped. Default: 1000