View Source AntikytheraCore.Metrics.Results (antikythera v0.5.1)
Data structure to represent metrics results computed from raw metrics data. Results are map of metrics data by minute-epool.
%{
{time_minute, epool_id} => %{
metrics_label => metrics_value,
metrics_label => metrics_value,
...
},
...
}
Summary
Types
@type metrics_label() :: String.t()
@type per_unit_results_map() :: %{ required(metrics_label()) => AntikytheraCore.Metrics.Buffer.metrics_value() }
@type t() :: %{ required(AntikytheraCore.Metrics.Buffer.metrics_unit()) => per_unit_results_map() }
Functions
@spec compute_results([ {AntikytheraCore.Metrics.Buffer.metrics_unit(), AntikytheraCore.Metrics.Buffer.metrics_data_map()} ]) :: t()
@spec new() :: t()