Skip to content
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] Extend alert dropdown suggestions beyond 24h, respecting URL parameters (if available) #154704

Open
kpatticha opened this issue Apr 11, 2023 · 1 comment
Labels
apm:alerting Team:APM All issues that need APM UI Team support

Comments

@kpatticha
Copy link
Contributor

Problem

Currently, the alert dropdown list only shows suggestions for the last 24 hours, which poses a problem when users are within the APM application and select a previous range with data. This results in an empty suggestion list with no options to select but a view with data.

Screenshot 2023-04-06 at 13 12 47

Proposal

We show the APM alert rules in 3 places

  1. APM app
  2. Alert rules
  3. Rules page within stack management (app/management/insightsAndAlerting/triggersActions/rules)

In APM, if a time range is selected, the suggestion fields in the alert dropdown should respect this range otherwise it will fallback to 24h

For the rest, it will show suggestions for the last 24h as there is no timerange.

Related links

https://github.com/elastic/kibana/blob/main/x-pack/plugins/apm/public/components/alerting/utils/fields.tsx#L56-L57

#152329

@botelastic botelastic bot added the needs-team Issues missing a team label label Apr 11, 2023
@kpatticha kpatticha added the Team:APM All issues that need APM UI Team support label Apr 11, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Apr 11, 2023
kpatticha added a commit that referenced this issue Apr 20, 2023
Part of the #152329

1. Adds a synthrace scenario that generates many transactions per
service
2. Fixes the duration chart preview when selecting All option -
#152195
3. Introduces the `Transaction name` filter in the rule type. 


### Pages loading the rule type
1. APM
2. Alert
3. Management rule 


### Consider 
- [ ] Update/Adding documentation example
https://www.elastic.co/guide/en/kibana/master/apm-alerts.html#apm-create-transaction-alert
## Creating a rule

https://user-images.githubusercontent.com/3369346/231740745-425c8eb8-6798-4ce4-b375-4ef96afdb334.mov

## Updating a rule


https://user-images.githubusercontent.com/3369346/231742035-28f50dfd-64bb-475d-b037-331eea4188d7.mov


### Before



https://user-images.githubusercontent.com/3369346/232799038-2edaa199-b970-48f2-b3ca-728273e4bf44.mov



### Notes

#### Feedback
The default action messages don't include any links. I will create a
follow-up ticket to improve the messages with actionable links.

Related bugs but out of the scope of the PR

- #154818
- #154704

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:alerting Team:APM All issues that need APM UI Team support
Projects
None yet
Development

No branches or pull requests

2 participants