antikythera v0.4.0 AntikytheraCore.Metrics.Results View Source
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,
...
},
...
} Link to this section Summary
Link to this section Types
Specs
metrics_label() :: String.t()
Specs
per_unit_results_map() :: %{
required(metrics_label()) => AntikytheraCore.Metrics.Buffer.metrics_value()
}
Specs
t() :: %{
required(AntikytheraCore.Metrics.Buffer.metrics_unit()) =>
per_unit_results_map()
}
Link to this section Functions
Specs
compute_results([
{AntikytheraCore.Metrics.Buffer.metrics_unit(),
AntikytheraCore.Metrics.Buffer.metrics_data_map()}
]) :: t()
Specs
Specs
new() :: t()