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
Describe the bug
If a Monitor is created (at least with cron expression, did not check interval behavior) using the backend REST API, when going to the Edit Monitor page in the frontend plugin, the Monitor Schedule section displays the default of 1 minute interval. The cron information is actually being stored in the formik object derived from the Monitor object but it isn't the selected default. If the user ends up saving the Monitor without doing anything, the saved Monitor schedule will become the default of 1 minute.
To Reproduce
Steps to reproduce the behavior:
Create a Monitor with a cron schedule using the backend API
Go to Monitors page in the Alerting console
Select the Monitor to go to the Monitor details page
Select Edit
Scroll down to Monitor Schedule
Expected behavior
When creating a Monitor from the backend API, if the Monitor schedule is a cron expression, then default to the Custom cron expression display in the Edit Monitor page to ensure it can be shown regardless of the expression. May also need to test this with other schedule types to see if they behave correctly.
Screenshots
User reported this issue in a forum question which includes screenshots. The user was on the OpenDistro version of Alerting but this behavior has not been altered in OpenSearch and all new issues are being handled here.
The text was updated successfully, but these errors were encountered:
This issue has been there since August, 2021. Can you please help prioritize this issue as any automation process of creating/updating monitors is blocked by this issue. Would appreciate your help!
Describe the bug
If a Monitor is created (at least with cron expression, did not check interval behavior) using the backend REST API, when going to the
Edit Monitor
page in the frontend plugin, theMonitor Schedule
section displays the default of1 minute interval
. The cron information is actually being stored in the formik object derived from the Monitor object but it isn't the selected default. If the user ends up saving the Monitor without doing anything, the saved Monitor schedule will become the default of 1 minute.To Reproduce
Steps to reproduce the behavior:
Monitors
page in the Alerting consoleEdit
Monitor Schedule
Expected behavior
When creating a Monitor from the backend API, if the Monitor schedule is a cron expression, then default to the
Custom cron expression
display in theEdit Monitor
page to ensure it can be shown regardless of the expression. May also need to test this with other schedule types to see if they behave correctly.Screenshots
User reported this issue in a forum question which includes screenshots. The user was on the OpenDistro version of Alerting but this behavior has not been altered in OpenSearch and all new issues are being handled here.
The text was updated successfully, but these errors were encountered: