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
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Describe the bug
The number of Triggers allowed by monitors should not be hardcoded.
When adding a Monitor that contains more than 10 Triggers, this error is returned :
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "Monitors can only support up to 10 triggers."
}
],
"type" : "illegal_argument_exception",
"reason" : "Monitors can only support up to 10 triggers."
},
"status" : 400
}
I did not found any good reason to hardcode this value to "10". As an example, the total number of Monitor default value is set to 1000 but can be dynamically redefined.
Describe the bug
The number of Triggers allowed by monitors should not be hardcoded.
When adding a Monitor that contains more than 10 Triggers, this error is returned :
I did not found any good reason to hardcode this value to "10". As an example, the total number of Monitor default value is set to 1000 but can be dynamically redefined.
Other plugins installed
(not useful)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Have a dedicated setting in the alerts section. As an example, it could look like:
opendistro.alerting.monitor.max_triggers
(to be consistant with the existingopendistro.alerting.monitor.max_monitors
).See https://opendistro.github.io/for-elasticsearch-docs/docs/alerting/settings/#alerting-settings.
Desktop:
Additional context
I run the OpenDistro stack using Docker with image v1.13.2.
The text was updated successfully, but these errors were encountered: