antikythera v0.2.0 AntikytheraEal.MetricsStorage View Source
Interface to storage for metrics data. The storage is sliced per day.
JSON format of metrics results in data storage is as follows:
{
"@timestamp": <ISO8601_timestamp>,
"node_id": "ip-XXX-XXX-XXX-XXX",
"otp_app_name": <otp_app_name>,
"epool_id": <antikythera or gearname>,
<metrics_label>: <metrics_value>,
<metrics_label>: <metrics_value>,
...
}
Link to this section Summary
Link to this section Types
Link to this type
metrics_per_unit()
View Source
metrics_per_unit() :: {AntikytheraCore.Metrics.Buffer.metrics_unit(), AntikytheraCore.Metrics.Results.per_unit_results_map()}
Link to this section Functions
Link to this function
save(otp_app_name, results)
View Source
save(atom(), AntikytheraCore.Metrics.Results.t()) :: AntikytheraCore.Metrics.Results.t()