-
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] Service overview initial table query #81722
Comments
Pinging @elastic/apm-ui (Team:apm) |
@smith can you specify what charts exactly? |
@dgieselaar #81135 shows all of the charts and tables used on the page. |
@smith Yes, but this only covers some. Can you clarify which one? Do you mean the four tables on the right? Probably, but want to be sure. |
@dgieselaar Yes we need to determine which queries we're going to use to load the data, including the sparklines, into the tables on the right. "The larger latency and "side" charts use their own separate queries." The charts are using separate queries. This ticket is to figure out the "best" way to load the data into the tables on the page. Some options:
We would like to have a useful page as soon as possible, so loading additional data with subsequent queries, or breaking the queries up in other ways, are different ways to do this. |
I think we should fetch per component, but not add any parallelisation in each request, like we do in the service inventory page. Given the many components on this page, I would be worried about having too many connections to Elasticsearch. On the flip side, loading all tables in one request might delay showing any components longer than needed. We can optimize queries later. For the transactions table, we can use a similar strategy as we have on the service inventory page, but without the parallelisation, and broken down by For the errors table, if we want to show "First seen", we need to aggregate over all the error documents, not just those available in the given time range. Or, we could have an upper bounds but not a lower bounds. In this case we can use a For the dependencies table, I'll defer to @ogupte in #81120. For the instances table, it's similar to the transactions table, but will include metrics. |
I have not written out the queries because my assumption is that this should be straightforward given the examples we have in the codebase of similar queries. Happy to help out if it's still needed. |
(Part of the new APM service overview. See #81135 for more.)
Determine the initial query or queries to populate the data on the overview page when it's first loaded, either separately per-table or in a single query to populate some or all tables.
The larger latency and "side" charts use their own separate queries.
Create the tables needed for this initial load and their loading and empty states.
The text was updated successfully, but these errors were encountered: