Skip to content
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

[ECO][Hosts][Inventory] Make alert count consistent #202979

Closed
jennypavlova opened this issue Dec 4, 2024 · 1 comment · Fixed by #203003
Closed

[ECO][Hosts][Inventory] Make alert count consistent #202979

jennypavlova opened this issue Dec 4, 2024 · 1 comment · Fixed by #203003
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@jennypavlova
Copy link
Member

After some changes we did in the alerts filter and feature ids we found an issue that alert count is inconsistent between host view / service overview and navigating to the alerts page from there

AC:
The goal is to have the same alert count (host/service views -> alerts page) so the fix should include:

@jennypavlova jennypavlova added the bug Fixes for quality problems that affect the customer experience label Dec 4, 2024
@jennypavlova jennypavlova self-assigned this Dec 4, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Dec 4, 2024
@jennypavlova jennypavlova added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Dec 4, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Dec 4, 2024
@jennypavlova jennypavlova changed the title [ECO][Hosts][Services] Make alert count consistent [ECO][Hosts][Inventory] Make alert count consistent Dec 4, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Dec 9, 2024
…sing a filter (elastic#203003)

Closes elastic#202979

## Summary

This PR fixes inconsistencies between the alerts shown on hosts view and
inventory and the alerts page. The fix includes using consistent rule
types and filters for both getting the alert count and filters applied
on the alert page

## How to Test

Service Alert ( Inventory )

https://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c

Hosts view (+filters) Alerts (Inventory & Custom Threshold rule)

https://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3

Single Host

https://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5

cc: @roshan-elastic Ping to check the videos of the fix :)
(cherry picked from commit 62c3aec)
kibanamachine added a commit that referenced this issue Dec 9, 2024
…page using a filter (#203003) (#203400)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Inventory][Hosts] Make alert count consistent with the alerts page
using a filter (#203003)](#203003)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-09T11:48:15Z","message":"[Inventory][Hosts]
Make alert count consistent with the alerts page using a filter
(#203003)\n\nCloses #202979 \r\n\r\n## Summary\r\n\r\nThis PR fixes
inconsistencies between the alerts shown on hosts view and\r\ninventory
and the alerts page. The fix includes using consistent rule\r\ntypes and
filters for both getting the alert count and filters applied\r\non the
alert page\r\n\r\n## How to Test\r\n\r\nService Alert ( Inventory
)\r\n\r\n\r\nhttps://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c\r\n\r\nHosts
view (+filters) Alerts (Inventory & Custom Threshold
rule)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3\r\n\r\nSingle
Host\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5\r\n\r\ncc:
@roshan-elastic Ping to check the videos of the fix
:)","sha":"62c3aecffe9388a984b4432670ade0ff6f085b75","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.18.0"],"title":"[Inventory][Hosts]
Make alert count consistent with the alerts page using a
filter","number":203003,"url":"https://github.com/elastic/kibana/pull/203003","mergeCommit":{"message":"[Inventory][Hosts]
Make alert count consistent with the alerts page using a filter
(#203003)\n\nCloses #202979 \r\n\r\n## Summary\r\n\r\nThis PR fixes
inconsistencies between the alerts shown on hosts view and\r\ninventory
and the alerts page. The fix includes using consistent rule\r\ntypes and
filters for both getting the alert count and filters applied\r\non the
alert page\r\n\r\n## How to Test\r\n\r\nService Alert ( Inventory
)\r\n\r\n\r\nhttps://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c\r\n\r\nHosts
view (+filters) Alerts (Inventory & Custom Threshold
rule)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3\r\n\r\nSingle
Host\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5\r\n\r\ncc:
@roshan-elastic Ping to check the videos of the fix
:)","sha":"62c3aecffe9388a984b4432670ade0ff6f085b75"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203003","number":203003,"mergeCommit":{"message":"[Inventory][Hosts]
Make alert count consistent with the alerts page using a filter
(#203003)\n\nCloses #202979 \r\n\r\n## Summary\r\n\r\nThis PR fixes
inconsistencies between the alerts shown on hosts view and\r\ninventory
and the alerts page. The fix includes using consistent rule\r\ntypes and
filters for both getting the alert count and filters applied\r\non the
alert page\r\n\r\n## How to Test\r\n\r\nService Alert ( Inventory
)\r\n\r\n\r\nhttps://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c\r\n\r\nHosts
view (+filters) Alerts (Inventory & Custom Threshold
rule)\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3\r\n\r\nSingle
Host\r\n\r\n\r\nhttps://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5\r\n\r\ncc:
@roshan-elastic Ping to check the videos of the fix
:)","sha":"62c3aecffe9388a984b4432670ade0ff6f085b75"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: jennypavlova <[email protected]>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 9, 2024
…sing a filter (elastic#203003)

Closes elastic#202979 

## Summary

This PR fixes inconsistencies between the alerts shown on hosts view and
inventory and the alerts page. The fix includes using consistent rule
types and filters for both getting the alert count and filters applied
on the alert page

## How to Test

Service Alert ( Inventory )


https://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c

Hosts view (+filters) Alerts (Inventory & Custom Threshold rule)



https://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3

Single Host


https://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5

cc: @roshan-elastic Ping to check the videos of the fix :)
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/kibana that referenced this issue Dec 10, 2024
…sing a filter (elastic#203003)

Closes elastic#202979 

## Summary

This PR fixes inconsistencies between the alerts shown on hosts view and
inventory and the alerts page. The fix includes using consistent rule
types and filters for both getting the alert count and filters applied
on the alert page

## How to Test

Service Alert ( Inventory )


https://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c

Hosts view (+filters) Alerts (Inventory & Custom Threshold rule)



https://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3

Single Host


https://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5

cc: @roshan-elastic Ping to check the videos of the fix :)
mykolaharmash pushed a commit to mykolaharmash/kibana that referenced this issue Dec 11, 2024
…sing a filter (elastic#203003)

Closes elastic#202979 

## Summary

This PR fixes inconsistencies between the alerts shown on hosts view and
inventory and the alerts page. The fix includes using consistent rule
types and filters for both getting the alert count and filters applied
on the alert page

## How to Test

Service Alert ( Inventory )


https://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c

Hosts view (+filters) Alerts (Inventory & Custom Threshold rule)



https://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3

Single Host


https://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5

cc: @roshan-elastic Ping to check the videos of the fix :)
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
…sing a filter (elastic#203003)

Closes elastic#202979 

## Summary

This PR fixes inconsistencies between the alerts shown on hosts view and
inventory and the alerts page. The fix includes using consistent rule
types and filters for both getting the alert count and filters applied
on the alert page

## How to Test

Service Alert ( Inventory )


https://github.com/user-attachments/assets/f3b626da-1a49-42dc-a989-48b13d15ae2c

Hosts view (+filters) Alerts (Inventory & Custom Threshold rule)



https://github.com/user-attachments/assets/2a490ad4-e2a4-43b5-b00f-d00ac27f9fd3

Single Host


https://github.com/user-attachments/assets/7c6a8cf7-f2a2-41f0-9f98-7e7543d4e7d5

cc: @roshan-elastic Ping to check the videos of the fix :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
2 participants