Module: Dasht

Defined in:
lib/dasht/list.rb,
lib/dasht/base.rb,
lib/dasht/board.rb,
lib/dasht/metric.rb,
lib/dasht/metrics.rb,
lib/dasht/rack_app.rb,
lib/dasht/reloader.rb,
lib/dasht/log_thread.rb

Overview

Dasht::Metric - Simple in-memory time-series data structure with the following properties:

  1. Sparse. Only stores time stamps for intervals with known data, and only stores one timestamp per interval.

  2. Flexible aggregation using Ruby blocks during both read and write.

  3. Read values between two timestamps.

The Dasht::Metric structure is formed using two Dasht::List objects. One object tracks data, the other object tracks a list of checkpoints and their corresponding index into the data.

Defined Under Namespace

Classes: Base, Board, List, LogThread, Metric, Metrics, RackApp, Reloader