-
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] Add error grouping key filter in error count rule type #155410
Conversation
Pinging @elastic/apm-ui (Team:APM) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: |
/oblt-deploy |
@kpatticha With your synthtrace data the error grouping key is a somewhat readable string. However, it will always be a completely unreadable hash. I've updated the synthtrace scenarios in #151280 so you can see what it will really look like if you pull in My point is: I'm not sure if we should expect users to select an error group from the hash alone. We may want to display the short hash together with the error message like:
We already do that on errors table If this is difficult with the existing suggestion component I'm good with postponing this for later. |
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.
lgtm. Just a comment about how we display the error group
Good point. I wonder if people want the ability to filter on For grouping I think we should have |
ApmRuleType.ErrorCount, | ||
serviceName, | ||
environment, | ||
ruleParams.errorGroupingKey, |
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.
@kpatticha do we need ruleParams.errorGroupingKey
to be added in alert ID? It will always be same value for a given rule as it is coming from the filter. Is it ok if we keep this implementation?
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.
Is it ok if we keep this implementation?
@benakansara Yes, let's keep what you've implemented regarding the IDs.
do we need ruleParams.errorGroupingKey to be added in alert ID?
No, we don't since we're planning to add theerror.grouping_key
as a grouping field
part of #152329
Introduces the error grouping key filter in the error count rule type
Screen.Recording.2023-04-20.at.15.58.47.mov