-
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] Alerts for specific transaction groups and error groups #152329
Comments
Pinging @elastic/apm-ui (Team:APM) |
As we discussed in a call earlier we agreed that we won't group by the transaction name as part of the ticket but just add the transaction name filter. The grouping will be handled as part of |
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>
In the implementation ticket, there is no reference of adding the transaction name filter in the error count rule type. However, I see |
@kpatticha I don't understand the context of the link (it points to a comment about an issue with slack for the latency threshold rule) but I think you are asking if |
oops, wrong link (fixed now) but you understand correctly. I'll make a note and if we have the time we can address adding the For grouping I will reach out to AO |
@kpatticha @sqren I have added group-by Should I add a new field in the dropdown to group alerts on |
@benakansara yes please! Can you also add |
part of #152329 Introduces the error grouping key filter in the error count rule type https://user-images.githubusercontent.com/3369346/233397481-899e32e0-f26d-4335-84fe-e18c5264f3d2.mov
#155405) part of #152329 related work #154241 Introduces the Transaction name filter in the failed transaction rate rule type https://user-images.githubusercontent.com/3369346/233386404-1875b283-0321-4bf1-a7d3-66327f7d4ec5.mov ## Fixes The regression introduces in a previous [PR](fce4ef8) Existing rule types can have empty string in their params so we need to make sure we don't filter empty values as it will yield no results. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Hello! I have a service named platform and inside of it there is a transaction called actions. I want to create an alert for the actions transaction. So, firstly I went to APM, I chose the Alerts->Latency and in my view I have only the service [which is platform and i can't change it], type [I have selected request], environment [I have selected prod], WHEN avg is above 1500ms for the last 5 minutes. But as you can imagine, I can't choose the transaction that I want [actions] and in this way my alert is for the whole service [platform]. Can you please help me? Thank u! |
@edfi-al Could you tell us which version of Kibana are you using? We have added transaction name filter in Latency threshold rule in 8.8.0. There is a filter called "NAME". Additionally, in 8.10.0, we have added KQL filter where you can specify any filters with KQL query. |
Hello @benakansara and thank you for replying. I'm using v.7.11.1. Must I upgrade to at least v.8.8.0 in order to use NAME in alert? |
@edfi-al yes, at least 8.8.0 is needed to use new |
APM users can create rules for specific services but are unable to create rules for specific transaction groups or error groups. This is a much requested feature because some parts of an application are more important than others and have different tolerance for latency, throughput and failed transaction rate thresholds.
Latency threshold and Failed transaction threshold rules
These rules already allow users to filter by
service.name
,service.environment
andtransaction.type
.A
transaction.name
filter should also be added, enabling users to only be alerted when a given transaction group exceeds the threshold.Error count threshold rule
When creating this rule users can filter by
service.name
andservice.environment
. By adding another filter forerror.grouping_key
users can be alerted when a single error group exceeds a given threshold.Progress
Add transaction name filter
Error countnot requested we're not going to implement itAdd error grouping key filter
Links
The text was updated successfully, but these errors were encountered: