-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[APM] Number of instances are limited to ~50-100 instances #167633
Comments
Pinging @elastic/apm-ui (Team:APM) |
@sqren , to sort on the server, did you have in mind using the order parameter from the terms aggs? So, I briefly looked at the code and the queries run
I'll keep investigating, but these are my first thoughts after looking into it. |
closes #167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
closes elastic#167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
closes elastic#167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
closes elastic#167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
closes elastic#167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
closes elastic#167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
closes elastic#167633 - Move sorting to the backend, so we don't miss any document. - Query 1000 instances sort it and slice to return Top 100 instances. - Adding API tests. https://github.com/elastic/kibana/assets/55978943/3c1b746a-799a-4195-8a29-230b2547c53b
Related: https://github.com/elastic/sdh-apm/issues/1090 (internal)
Problem
The instance table on the Service Overview page is limited to 50 instances (it may show up to max 100 instances due to how items are fetched):
kibana/x-pack/plugins/apm/server/routes/services/get_service_instances/main_statistics.ts
Line 44 in 343c04c
This means that if the user has more than 50 instances they are not guarenteed to show up. If they have more than 100 instances they can be sure that not every instance shows up in the list.
Client side sorting issue
Having a limit is fine but in that case it is important that sorting happens on the server, in order to surface the "top instances" based on the selected sort dimension. Currently when the user clicks a table heading, sorting happens on the client which means that we don't necesarily surface the true "top instances" but only the instances already loaded.
Solution
The text was updated successfully, but these errors were encountered: