[8.19] [Observability] [Alert] Add context.grouping action variable in SLO Burn rate and ES Query rules (#213550)#220055
Merged
benakansara merged 3 commits intoelastic:8.19from May 5, 2025
Conversation
…urn rate and ES Query rules (elastic#213550) Part of elastic#180709 Adds `context.grouping` action variable in the following rules: - SLO Burn rate rule - ES Query rule 1. Create each rule with group by fields, and with "active" and "recovered" actions - for SLO Burn rate rule, group by fields are derived from the SLO so you need to create SLO with group by fields - for ES Query rule, use "Grouped over" 2. In "active" and "recovered" action message, use `context.grouping` variable 3. Ensure that both "active" and "recovered" alert notifications contain correct information 4. Ensure that the action variables UI in rule form shows `context.grouping` action variable Example of action message: ``` { "grouping": "{{context.grouping}}", "host.name": "{{context.grouping.host.name}}", "container.id": "{{context.grouping.container.id}}" } ``` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 3c1b882)
Contributor
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
Contributor
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
Contributor
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Page load bundle
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.19:Questions ?
Please refer to the Backport tool documentation