antikythera v0.2.0 AntikytheraCore.Metrics.Buffer View Source

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,
    ...
  },
  ...
}

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function partition_ongoing_and_past(buffer, now) View Source
partition_ongoing_and_past(t(), Antikythera.Time.t()) :: {t(), [{metrics_unit(), metrics_data_map()}]}