get_anomalies
Retrieve anomaly detection events from Z-score analysis on memory, hit rate, and CPU metrics 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 | |
| metricType | No | Filter by metric type | |
| startTime | No | Start time (Unix timestamp ms) | |
| instanceId | No | Optional instance ID override |