-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add trigger to an alerting monitor for Monitor defining method as "anomaly detector" #1196
Comments
I fixed this bug before: #502 |
pinged @amitgalitz to take a look. |
@kaituo, thank you for the reply. As mentioned in the ticket, the status code is 400, which generally means a bad request. I am running with demo security in setup, so not sure if that is playing any part in this. |
@sonu1311 not sure. Assigned my teammate @siddharthabingi Siddhartha Bingi to take a look. |
When calling the API Previously, this PR which was raised for Bug fix and mds support for AD Plugin APIs changed the query schema from |
@siddharthabingi nice. Can you backport to 2.x and 2.19 branch (cc @AWSHurneyt )? Also, this breaks because we don't have IT. Can you add an IT in https://github.com/opensearch-project/alerting-dashboards-plugin/tree/main/cypress/integration ? |
@AWSHurneyt Yes. Can you help review the 2.19 backport? This breaks AD alerting UI from 2.15~2.19. The backport will help ensure AOS 2.19 get the fix. |
What is the bug?
I cannot create a trigger for my alert monitor configured for the anomaly detector. It tells me that "No features have been added to this anomaly detector," but per the screenshots provided here, I do have one configured.
In my debugging so far, it seems this log line in the dashboard pod could be the reason
statusCode":400,"req":{"url":"/api/alerting/detectors/6wlts5QBQ09GuqQB4YyT/results?startTime=1737573868672&endTime=1738178668672&preview=true"
as it's logged every time I click to add a trigger on the screen.
How can one reproduce the bug?
What is the expected behavior?
It should let me add the trigger condition based on the feature I've in the anomaly detector.
What is your host/environment?
Do you have any screenshots?
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: