get_anomalies
Retrieve anomaly detection events from persistent storage. Z-score analysis on memory, hit rate, CPU, and other metrics identifies anomalies to investigate alert triggers or correlate with incidents.
Instructions
Get anomaly detection events from persisted storage. BetterDB continuously runs Z-score analysis on memory, hit rate, CPU, and other metrics — this returns the detected anomalies. Use to investigate what triggered an alert or correlate with an incident.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max events to return | |
| startTime | No | Start time (Unix timestamp ms) | |
| instanceId | No | Optional instance ID override | |
| metricType | No | Filter by metric type |