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] Ability to use filtering and breakdowns in APM rules #142302

Closed
sorenlouv opened this issue Sep 30, 2022 · 2 comments
Closed

[APM] Ability to use filtering and breakdowns in APM rules #142302

sorenlouv opened this issue Sep 30, 2022 · 2 comments
Labels
apm:alerting Team:APM All issues that need APM UI Team support

Comments

@sorenlouv
Copy link
Member

sorenlouv commented Sep 30, 2022

Problem

We know from the requested alerting rule types that end users want to be able to create alerts for a specific subset of documents (eg. a specific transaction groups), as well as ability to group by a dimension (eg. error group) and alert when a single group exceeds a given threshold. Neither of these two controls are available today so the user can only create rules that monitors the entirety of a service. This means that even if a single transaction group significantly exceeds a given threshold, no alerts will be created as long as the overall service doesn't exceed the threshold. This is problematic because this way important events go unnoticed.

Solution

APM rules should have controls for filtering and breakdowns.

Filtering
Scenario: A user wants to create a rule that monitors the "/checkout" transaction, so they are made aware as soon as the failure rate increases over 1%.
They should be able to do this by using the transactions failure rate rule type, and adding a filter for transaction.name: "/checkout"

Breakdown
Scenario: A user wants to be notified when any of their transaction groups exceed 5000ms latency.
They should be able to do this by using the transactions latency rule type, and then specifying transaction.name.

@sorenlouv sorenlouv added the Team:APM All issues that need APM UI Team support label Sep 30, 2022
@elasticmachine
Copy link
Contributor

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

@sorenlouv
Copy link
Member Author

sorenlouv commented Jul 11, 2023

Group by was added in #155001. Improved filtering was also added in 8.8 and more is planned in https://github.com/elastic/apm-dev/issues/929

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