Skip to main content

Module storage

Module storage 

Source
Expand description

Telemetry storage abstractions.

Defines the TelemetryStore trait and the InMemoryTelemetryStore for testing. Also provides helper functions for historical queries (inspect_at, historical_events). Domain types include TelemetrySnapshot and AlertHistoryEvent.

§Example

use dol::storage::TelemetryStore;
let mut store = InMemoryTelemetryStore::default();
store.write_snapshot(snapshot)?;

Structs§

AlertHistoryEvent
InMemoryTelemetryStore
TelemetrySnapshot

Enums§

TelemetryError

Traits§

TelemetryStore

Functions§

historical_events
inspect_at