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
What is the bug?
The alerting UI uses this onRunQuery (code link) function to call the ExecuteMonitor API (documentation link) which performs dry runs of a monitor as it's being configured. The response from the dry run is then used to enrich the UI with preview data.
However, there is currently no throttling in place to limit the number of times the dry runs execute. This means that a dry run could be executed for every character entered into a UI form field.
Implementation of the ExecuteMonitor API limits could involve:
Throttling number of times the a dry run can be performed in a period of time
Only performing a dry run when blurring/clicking out of a UI form input field
Workarounds
Dry runs are only executed automatically when using the "visual editor" monitor definition method. Use the "extraction query editor" monitor definition method to avoid unintended, repeated dry runs as it requires the user to manually trigger a dry run by clicking the "Run" button.
TODO: Will need to ensure throttling is in place for the "Run" button as well.
TODO: Will need to consider whether the "Extraction query response" box can properly display a response preview for per document monitors, or if it should be removed from the UI. Due to the nature of per document monitors, the "Trigger condition response" may be the only meaningful preview option for this monitor type.
The text was updated successfully, but these errors were encountered:
What is the bug?
The alerting UI uses this
onRunQuery
(code link) function to call the ExecuteMonitor API (documentation link) which performs dry runs of a monitor as it's being configured. The response from the dry run is then used to enrich the UI with preview data.However, there is currently no throttling in place to limit the number of times the dry runs execute. This means that a dry run could be executed for every character entered into a UI form field.
Implementation of the ExecuteMonitor API limits could involve:
Workarounds
The text was updated successfully, but these errors were encountered: