Crate saros

source ·
Expand description

saros is a simplistic time-series database. It provides interfaces for storing biometrics data and querying them. It is intended to favor simplicity over feature-richness. Consequently, it’s quite simple.

Modules§

  • Tools for building dashboards on top of a saros query engine.
  • In-memory implementations of the saros traits.

Structs§

  • Label is the text-identifier for series.
  • A LabeledSeries associates a label and tags with a series.
  • A one_two_eight identifier.
  • QueryEngine executes queries against one or more BiometricsStore instances.
  • A Series is an ordered list of (time, point) tuples.
  • Series may be optionally tagged by Tags.
  • Time since UNIX epoch, in microseconds.
  • A Window has a start and end time.

Enums§

  • Error captures the ways Saros can fail.
  • The type of metric being requested. A switch over biometrics sensor types.
  • A Query represents a logical set of time series to be retrieved and arranged.

Traits§

  • BiometricsStore captures recordings from a biometrics emitter.
  • IO to Z.
  • A Point is an algebraic type that supports Add and Sub on itself. Implemented for each metric type.

Functions§