-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[APM] Improvements to transaction duration anomaly alert flow #76068
Comments
I love the quick option in the Anomaly Detection Settings view 👍 Will make it a much more seamless experience to setup an anomaly job and then create alerts for it. Question: would it perhaps be better to make Having more constrained flows with fewer options will lead to less confusion I think. Overview of existing APM alerts
That would make it much easier to verify which services/environments already have alerts and help the user not create duplicate alerts (sometimes they want that which is fine but at least we can call it out). |
This is related to #65981 |
I think it might feel a little counterintuitive that the user has to go out of the existing flyout and move to another page (global) to specify an "all"-scoped alert. I think if we limit the option in the service name condition to "All" or selected service, it makes the interaction less about specifying multiple other services or similar. We won't support that user flow.
Those options have already been proposed to the Alerting team, I will follow up with them to see what improvements they have considered for the alert flyouts.
I think that's a great idea, but I would like to expand to the be more about what Observability alerts do I have set up because I imagine in most common cases we're thinking of it as the user is defining alerts for logs, metrics and APM for the same "environment" or application (collection of services and infrastructure) and they want a unified view of what's configured. I suggest that we consider this some more when we think about having a list of alerts related to APM/Observability. |
We are talking about the flyout that pops up on the anomaly detection settings page, right? |
Ah, I must've missed this context from your response. Yes, with the anomaly detection settings view it makes sense to make the service name and environment read-only. |
Summary
Related issue #72636 and PR #75719
I would like to suggest the following enhancements to the create flow for the new transaction duration anomaly alert.
Proposal
Allow user to create an anomaly alert from anywhere in the APM app
Since ML jobs are tied to the environment, I suggest that we should allow the user to create anomaly alerts from anywhere in the APM app. It's hard to manage to have to set up these alerts on a per service basis. We can still allow the user to define a specific service, and default to the selected service in the alert flyout. But there should be another option to create an alert.
Enable alert creation within the Anomaly detection settings view
Another way to enable the user to create an anomaly alert is to provide a quick option in the Anomaly detection jobs table that will invoke the flyout with the service environment pre-selected. That way the user can easily create the alert right after the job creation.
@elastic/apm-ui @nehaduggal @alex-fedotyev Thoughts on this UX?
The text was updated successfully, but these errors were encountered: