Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SLO] Add group by remote in SLO Overview embeddable (elastic#181006)
Fixes elastic#181005 Fixes elastic#181014 This PR adds the group by remote option in the SLO Overview embeddable. It also fixes a bug with filtering in a grouped view, which would return no results (both in SLO Overview page and SLO Overview embeddable). ## How to test **Scenario**: User wants to have an embeddable in their Dashboard with all SLOs grouped by remote **Given** user has enabled Remote cluster under SLO Settings in SLO Overview page **And** in the Dashboard app they add an SLO Overview Embeddable **And** they select to group by `Remote` without any extra filtering **When** they click Save **Then** They should see all the remote clusters **And** when they click on the remote cluster they should see the respective SLOs in the expanded accordion https://github.com/elastic/kibana/assets/2852703/41162e27-2901-40e1-b704-11c89a6c0fd2 **Scenario**: User wants to have an embeddable in their Dashboard with all SLOs grouped by a **specific** remote **Given** user has enabled Remote cluster under SLO Settings in SLO Overview page **And** in the Dashboard app they add an SLO Overview Embeddable **And** they select to group by `Remote` **And** they select a specific remote cluster from the list of remote clusters **When** they click Save **Then** They should see all the remote clusters **And** when they click on the remote cluster they should see the respective SLOs in the expanded accordion **Before** https://github.com/elastic/kibana/assets/2852703/b900f8d9-f414-4550-ac65-a1d7bbf9e7b4 **After** https://github.com/elastic/kibana/assets/2852703/f887342b-9afe-43e9-9795-6c2ae42f413e **Scenario**: User wants to apply extra filtering to the Grouped Overview page **Given** user has grouped by Tags in the SLO Overview page **And** they want to see only the healthy SLOs **When** they type `slo.tags: "production"` **Then** They should see only the production group **And** when they click on the production group they should see the respective SLOs in the expanded accordion https://github.com/elastic/kibana/assets/2852703/bf010cad-42da-476d-9f63-b7a1d6f4295f
- Loading branch information