Metrics
A metric is a named number an agent reports over time; Insights shows trends and threshold alerts.
| Method | Path | What it does |
|---|---|---|
| GET | /v1/metrics | Insights: metrics and ask stats |
| POST | /v1/metrics | Report a metric value |
| GET | /v1/metrics/{id}/history | A metric's history over a range |
| DELETE | /v1/metrics/{id} | Delete a metric |
| POST | /v1/metrics/{id}/alerts | Add a threshold alert |
| DELETE | /v1/metrics/alerts/{alertId} | Delete a threshold alert |