View Source AntikytheraCore.Metrics.Buffer (antikythera v0.5.1)

A bin-like data structure to hold per-minute, per-epool metrics data.

%{
  {time_minute, epool_id} => %{
    {metrics_type, strategy} => data_in_processing,
    {metrics_type, strategy} => data_in_processing,
    ...
  },
  ...
}

Summary

Types

Functions

Link to this function

add(buffer, now, list, epool_id)

View Source
@spec new() :: t()
Link to this function

partition_ongoing_and_past(buffer, now)

View Source
@spec partition_ongoing_and_past(t(), Antikythera.Time.t()) ::
  {t(), [{metrics_unit(), metrics_data_map()}]}