Metrics
Create a resource alert (CPU / memory / disk) on a node.
Changed onWorks for workers as well as the control plane (0). A worker's series is fed by its heartbeats, so a rule only starts evaluating once the node has reported at least once.
post/nodes/{id}/metrics/alert-rules
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
idinteger required
Node ID (0 = control plane)
Request body
Response
Alert rule created
Changes
- info
endpoint added
- info
- breaking
api removed without deprecation
- breaking