elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.12k forks source link

[APM][ECO] Fetching details statistics from all services #189887

Open cauemarcondes opened 1 month ago

cauemarcondes commented 1 month ago

On the new ECO entity page after fetching all services we fetch its details statistics. We should only fetch the visible items on the page, but currently, we're fetching the details from all services returned. Fetching only the visible items improves the page performance.

API to change:

apm/entities/services/detailed_statistics
elasticmachine commented 1 month ago

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

roshan-elastic commented 1 month ago

Hey @cauemarcondes - you got an example screen/vid of this?

Wondering how this manifests itself in the UI

cauemarcondes commented 1 month ago

Hey @cauemarcondes - you got an example screen/vid of this?

Wondering how this manifests itself in the UI

There's a small difference when the user paginates. When changing page we fetch the details statistics of the new visible items, we then show a loading indicating the sparklines are being fetched and after a few ms we render it on the screen.

roshan-elastic commented 1 month ago

Got it @cauemarcondes - this feels like a nice enhancement. I'll figure out how to prioritise it.