/
Eyer Query API - anomaly alerts with metrics

Eyer Query API - anomaly alerts with metrics

to retrieve all anomaly alerts within a set timeframe, with metric values and baseline values for the time of the alert.

https://boomi.eyer.ai/api/anomalies-with-metrics?from=2024-09-12T05:15:00Z&to=2024-09-12T08:00:00Z

If the timeframe contains the start of an alert, if will return the initial alert. If the timeframe contains just an update or closed status, it will return “updated” or “closed” status of the alert.

Authentication: use “Authorization” in your HTTP header with your query key.

From / to time range: add as parameters in the format “2024-08-05T07:00:00Z”

“Smoothened” value is the value that is processed by the ML (might be a bit different compared to the raw value), which is then used to check if the value is inside any of the baseline limits (main, secondary and aux).

 

Example response

{ "new": [ { "severity": "medium", "started": "2024-09-12T05:00:00Z", "ended": null, "updated": "2024-09-12T07:00:00Z", "id": "66e28c061f5cf9aa3c336b06", "items": [ { "node": { "id": 178, "name": "MoveRealtime_LowFrequency", "system": { "id": 3, "name": null } }, "metrics": [ { "id": "cecc2e22-e245-44b4-9146-673578b3bc88", "name": "Elapsed Time", "metric_type": "double", "aggregation": "avg", "severity": "severe", "started": "2024-09-12T04:01:00Z", "updated": "2024-09-12T06:00:00Z", "data": [] }, { "id": "9d980715-dead-40ba-a410-ac9813f2bf8d", "name": "Max Elapsed Time", "metric_type": "double", "aggregation": "max", "severity": "severe", "started": "2024-09-12T04:01:00Z", "updated": "2024-09-12T06:00:00Z", "data": [] }, { "id": "507046a7-693f-4338-b30d-0f7ea6867e4b", "name": "Launch Elapsed Time", "metric_type": "double", "aggregation": "avg", "severity": "severe", "started": "2024-09-12T04:01:00Z", "updated": "2024-09-12T07:00:00Z", "data": [] } ] } ] }, { "severity": "low", "started": "2024-09-11T20:15:00Z", "ended": null, "updated": "2024-09-12T05:05:00Z", "id": "66e1faa01f5cf9aa3c336986", "items": [ { "node": { "id": 101, "name": "Operating System. http://10.0.1.161:8778/jolokia", "system": { "id": 1, "name": "http://10.0.1.161:8778/jolokia" } }, "metrics": [ { "id": "2ce746c5-1ee3-45d1-b23f-bae56bc5d51a", "name": "Committed Virtual Memory Size", "metric_type": "int", "aggregation": "avg", "severity": "medium", "started": "2024-09-11T20:14:00Z", "updated": "2024-09-11T20:15:00Z", "data": [ { "timestamp": "2024-09-11T20:15:00Z", "received": null, "smoothened": 429216768, "corridors": { "main": { "up": 614704576, "down": 443334400 }, "secondary": { "up": 614704576, "down": 350406816 }, "aux": { "up": 614704576, "down": 443334400 } } } ] } ] } ] } ], "updated": [], "closed": [] }

Related content

Eyer Query API - current anomaly alerts
Eyer Query API - current anomaly alerts
More like this
Eyer Query API - unread anomaly alerts
Eyer Query API - unread anomaly alerts
More like this
Eyer Query API - anomaly alert history
Eyer Query API - anomaly alert history
More like this
Anomaly alert timeline explained
Anomaly alert timeline explained
More like this
Alerts - structure and data explained
Alerts - structure and data explained
More like this
Grafana - set up alerts based on anomaly alerts from Eyer
Grafana - set up alerts based on anomaly alerts from Eyer
More like this