-
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
Infra/Logs rule types > Add alertDetailsUrl parameter to redirect user to the Alerts page filtered for that alert instance #156534
Comments
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
@katrin-freihofner What should be the description of |
Based on @XavierM feedback: we should use |
Okay, so the |
Yes, that's the idea |
Closes #156534 ## Summary This PR adds the alertDetailsUrl to the infra rules. The value of this variable is a link to the `observability > alerts` page filtered for this instance of alert. ![image](https://github.com/elastic/kibana/assets/12370520/409bea90-5d2b-4e60-ae4c-61223cccd41a) Here is an example of this action variable: |alertDetailsUrl as action variable|Result of action| |---|---| |![image](https://github.com/elastic/kibana/assets/12370520/4d920710-357a-4557-b871-36f0f8ecf0be)|![image](https://github.com/elastic/kibana/assets/12370520/4f800c6d-f15f-481e-b7fc-4f85aa1085a7)| **Note** - I will change this field to `kibana.alert.url` in another [ticket](#158359) ## 🧪 How to test - Ensure that `server.publicBaseUrl` is configured in kibana.dev.yml - Create a metric threshold/inventory/logs rule and use the `context.alertDetailsUrl` in action for this rule - After an alert is triggered, open the link provided by alertDetailsUrl and make sure that the alert is filtered correctly - Check the time range, it should be set for 5 mins before the alert start time --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Carlos Crespo <[email protected]>
📝 Summary
At the moment, we only have
alertDetailsUrl
action variable for APM Latency:Since it will take time to have alert details page for all the rule types, one idea is to add this context variable to all observability rules and then redirect the user to the
Alerts
page filtered for that specific alert instance, something like the following screenshot using URL query parameter:In this case, we need to:
This can be used to improve the user experience related to this request: #156498
✅ Acceptance Criteria
alertDetailsUrl
context variable for all the observability infra rule types🛠️ Related tickets/PRs
The text was updated successfully, but these errors were encountered: