Skip to main content

Crate starla_results

Crate starla_results 

Source
Expand description

Results management and upload for RIPE Atlas probe

This crate handles:

  • Queueing measurement results for upload (in-memory queue)
  • Batching multiple results for efficient upload
  • Retry logic with exponential backoff
  • RIPE Atlas result format wrapping

Re-exports§

pub use format::AtlasResult;
pub use format::ResultBundle;
pub use host_telemetry::HostTelemetry;
pub use host_telemetry::HostTelemetryKind;

Modules§

format
RIPE Atlas result format wrapper
host_telemetry
Host telemetry reporters: buddyinfo + rptaddrs

Structs§

QueueStats
Queue statistics
QueuedResult
A queued measurement result with metadata
ResultHandler
Main result handler that coordinates queuing and uploading
ResultHandlerConfig
Configuration for the result handler
ResultQueue
In-memory result queue with a maximum capacity. When full, oldest results are dropped to make room.
ResultUploader
Uploads measurement results to the controller
TimeSyncTracker
Tracks time synchronization status for calculating lts values
UploaderConfig
Configuration for the result uploader

Traits§

UploadStream
An async bidirectional stream for upload transport.
UploadTransport
A transport that opens streams to the controller’s result endpoint (127.0.0.1:8080 on the remote side of the SSH tunnel).