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
When creating monitors via the API, a user can specify an interval for a monitor. It seems like the interval is set correctly – as indicated by a get monitor call and the monitor detail overview.
However, when editing the monitor via the OpenSearch Dashboard UI, the previously defined interval is not applied. It looks like a default value is set [Interval: every 1 minute(s)]
If the monitor is created/updated via the API with the property ui_metadata, the edit monitor page displays the specified interval correctly. It seems like adding the metadata is a fix for getting correct results at the monitor edit page.
However, adding the property ui_metadata leads to an error on the monitor detail page: the schedule (specified interval) for the monitor is no longer displayed.
To Reproduce
Steps to reproduce the behavior:
Create a query level monitor via the API with a specific interval.
Go to the OpenSearch Dashboard UI and edit the newly created monitor. The set interval is not displayed correctly on the edit monitor page.
Expected behavior
The specified interval should be displayed correctly.
OpenSearch Version
1.2.4
Dashboards Version
1.2.0
Plugins
Alerting
Host/Environment (please complete the following information):
AWS Linux 2
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating monitors via the API, a user can specify an interval for a monitor. It seems like the interval is set correctly – as indicated by a get monitor call and the monitor detail overview.
However, when editing the monitor via the OpenSearch Dashboard UI, the previously defined interval is not applied. It looks like a default value is set [Interval: every 1 minute(s)]
If the monitor is created/updated via the API with the property
ui_metadata
, the edit monitor page displays the specified interval correctly. It seems like adding the metadata is a fix for getting correct results at the monitor edit page.However, adding the property
ui_metadata
leads to an error on the monitor detail page: the schedule (specified interval) for the monitor is no longer displayed.To Reproduce
Steps to reproduce the behavior:
Create a query level monitor via the API with a specific interval.
Go to the OpenSearch Dashboard UI and edit the newly created monitor. The set interval is not displayed correctly on the edit monitor page.
Expected behavior
The specified interval should be displayed correctly.
OpenSearch Version
1.2.4
Dashboards Version
1.2.0
Plugins
Alerting
Host/Environment (please complete the following information):
AWS Linux 2
The text was updated successfully, but these errors were encountered: