You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
making an update API call to disable or enable a monitor is not the best practice and is also very cumbersome as user would need to be aware of mapping of monitor document.
Since monitors are jobs and require to be enabled or disabled we should provide one of the following:
PUT _plugins/_alerting/monitors/{monitor_id}/enable and PUT _plugins/_alerting/monitors/{monitor_id}/disable
PUT _plugins/_alerting/monitors/{monitor_id}}/status {"enable" = true/false}
The text was updated successfully, but these errors were encountered:
making an update API call to disable or enable a monitor is not the best practice and is also very cumbersome as user would need to be aware of mapping of monitor document.
Since monitors are jobs and require to be enabled or disabled we should provide one of the following:
PUT _plugins/_alerting/monitors/{monitor_id}/enable
andPUT _plugins/_alerting/monitors/{monitor_id}/disable
PUT _plugins/_alerting/monitors/{monitor_id}}/status {"enable" = true/false}
The text was updated successfully, but these errors were encountered: