-
Notifications
You must be signed in to change notification settings - Fork 8k
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] Add transaction name filter in latency threshold rule #154241
[APM] Add transaction name filter in latency threshold rule #154241
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
...ver/routes/alerts/rule_types/transaction_duration/register_transaction_duration_rule_type.ts
Outdated
Show resolved
Hide resolved
/oblt-deploy |
b48c760
to
f5af7a5
Compare
/oblt-deploy |
Pinging @elastic/apm-ui (Team:APM) |
…kibana into 152329-alert-transaction-name
The reason doesn't include the transaction name.
can be: |
@kpatticha I have updated reason message in this PR. The new reason message will be for example - I have updated this for all 3 rules - Latency threshold, Failed transaction, Error count rules |
/oblt-deploy |
…kibana into 152329-alert-transaction-name
10231f9
to
56c7d24
Compare
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
/oblt-deploy |
x: 1627974600000, | ||
y: 18485.85714285714, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, these are archives. We should replace it with Synthtrace at some point, but at least we capture the current value so we don't unintentionally change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might be able to tackle it during test plan for 8.8. I've created an issue to capture this and the other tests that still rely on archives: #155359
|
||
return ( | ||
<PopoverExpression value={currentValue || allOptionText} title={label}> | ||
<SuggestionsSelect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sqren do you mean sort alphabetically? The suggestions dropdown uses _terms_enum API which I'm not 100% how it returns the results
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I mean alphabetically. Sorting on the client is fine.
The alert details page should show the transaction name when it's set similar to how we show service name and environment @kpatticha will you create an issue for this? |
|
#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>
…154241) Part of the elastic#152329 1. Adds a synthrace scenario that generates many transactions per service 2. Fixes the duration chart preview when selecting All option - elastic#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 - elastic#154818 - elastic#154704 --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
elastic#155405) part of elastic#152329 related work elastic#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](elastic@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>
Part of the #152329
all
#152195Transaction name
filter in the rule type.Pages loading the rule type
Consider
Creating a rule
Screen.Recording.2023-04-13.at.12.55.00.mov
Updating a rule
default.mov
Before
Screen.Recording.2023-04-13.at.13.16.17.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