Added
client.monitors—list,create,get,update,delete,listAlerts,createAlert,getAlert,updateAlert,deleteAlert,listIncidents,mute,unmute. A monitor groups one or more saved-search alerts. The three issue-lifecycle monitors are auto-provisioned (system: true) and rejectdelete/update/ adding or removing alerts — onlymute/unmuteand editing an existing alert's condition values are allowed.listandlistIncidentsare cursor-paginated;listIncidentsitems carry anotifiedflag.- New shared types:
Monitor,MonitorAlert,MonitorAlertSource,AlertCondition,AlertCountThreshold,AlertBaseline,AlertDuration,MonitorIncident,PaginatedMonitors,PaginatedMonitorIncidents, and the request bodiesCreateMonitorBody,CreateMonitorAlertBody,UpdateMonitorBody,UpdateMonitorAlertBody.
Changed
IncidentgainedmonitorAlertId(the firing monitor alert, ornullfor unattributed incidents) andcondition(the firing alert'sAlertConditionsnapshot, ornullfor no-parameter kinds). Both fields are additive and appear on everyclient.incidents.listitem and onclient.monitors.listIncidentsitems.