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

[Infra UI] Improve results when querying for common fields between datasets in Inventory UI #181975

Open
neptunian opened this issue Apr 29, 2024 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:ObsInventory needs-refinement Needs PM's to refine scope Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@neptunian
Copy link
Contributor

neptunian commented Apr 29, 2024

When grouping or filtering by a field outside the system datasets no results are returned because they need to be joined. Example when filtering/grouping by service.name:

Screenshot 2024-04-29 at 8 17 52 AM Screenshot 2024-04-29 at 8 17 58 AM

Solution would be to adjust the query like to function similar to Hosts UI where we get the first get host.names from the documents that have service.name and then pass those to query their respectric metrics within the system datasets.

Something to keep in mind is the Hosts UI is limited in how many hosts will be fetched but the Inventory UI is a composite aggregation. How big of a list of hosts could we send? It may not be feasible unless we limit the amount of hosts we show the user.

@neptunian neptunian added the Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team label Apr 29, 2024
@elasticmachine
Copy link
Contributor

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

@smith smith added Feature:ObsInventory bug Fixes for quality problems that affect the customer experience labels Apr 29, 2024
@roshan-elastic
Copy link

Hey @smith,

Does this need refining? I'm thinking it could be a good spike to explore whether this solves the problem and measure the change in performance?

Not sure how to prioritisie this in GitHub but I'd love to do this after we've delivered the current queue of items after the whip limit opens up a spot.

@smith smith added the needs-refinement Needs PM's to refine scope label May 3, 2024
@smith
Copy link
Contributor

smith commented May 3, 2024

@roshan-elastic I've added it to refining so we can determine the best approach.

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 Feature:ObsInventory needs-refinement Needs PM's to refine scope Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

No branches or pull requests

4 participants