-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Add error.grouping_name to group alerts in Error Count rule #161810
Add error.grouping_name to group alerts in Error Count rule #161810
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [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: cc @benakansara |
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
successful: 1, | ||
total: 1, | ||
}, | ||
}); |
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.
It would be better to have these as API tests (and thus avoid the mocking) if that's possible?
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 I have added API tests in: x-pack/test/apm_api_integration/tests/alerts/error_count_threshold.spec.ts
. Did you mean to add tests for any specific scenario or are these enough?
Pinging @elastic/apm-ui (Team:APM) |
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 one comment about the unit tests that I'd prefer as api tests.
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.
response ops changes lgtm!
Resolves https://github.com/elastic/actionable-observability/issues/70
For the APM Error Count rule -
error.grouping_name
in the index mapping of AAD indexerror.grouping_name
in the alert document in AAD indexerrorGroupingName
in the list of action variablesI discussed with @simianhacker regarding the alert instance ID having space/quotes with introduction of
errorGroupingName
. It appears that usingerrorGroupingName
as is should not be an issue and so we don't need to modify or hash it.Group by dropdown
Reason message
Index mapping
Alert document
Action variable
Alert notification