elastic / kibana

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

[APM] Trace detail view #92017

Open formgeist opened 3 years ago

formgeist commented 3 years ago

Summary

Related design issue https://github.com/elastic/apm/issues/358

This issue is part of multiple updates and enhancements to the Transactions experience in the APM app. By way of the new Service overview, we're adding some new elements to the list and group detail views and moving the Trace viewer (waterfall, metadata, and logs) into a dedicated view that will enhance the trace analysis experience greatly.

Design solution

The current design of the Trace view is placed on the Transaction group detail page below the performance metrics. Since we're redesigning the group detail page to contain a full list of the traces within a selected distribution (https://github.com/elastic/kibana/issues/86783), the Trace view will need to have its own separate space to contain the waterfall visualization, the logs component, errors, and the transaction metadata. The vision is for the Trace view to become its own view that offers a focused experience for analyzing a particular trace.

The general design is based on removing a lot of the noise from the header area and focusing on presenting the trace itself and allow the user to navigate through other traces from within this view which share the same distribution bucket.

01 Trace detail 2

We will not yet replace our existing waterfall visualization with the one created by the Synthetics team, but that will come down the line.

Layout

The page consists of 4 panels, which are supposed to follow the viewport size.

Trace header panel

Trace header

The trace header contains the transaction information and actions like navigation between traces and the actions for analyzing the trace in another context.

Trace details panel

Trace details panel

This panel consists of highlighted metadata about the transaction and allows the user to invoke the existing metadata flyout. Additionally, we would list out the errors which have occurred in the trace with links to the error occurrence details for each.

This panel is collapsible by using the EuiResizableContainer component from EUI and using the external control options.

Waterfall and Logs component panels

Trace waterfall and logs

Lastly, the main panels are the waterfall visualization and the logs component which take up the majority of the viewport. We want to allow the content within the waterfall container to scroll vertically.

The logs component will be collapsible by using the EuiResizableContainer like the trace details panel.

View example gif ![Kapture 2021-02-19 at 15 17 47](https://user-images.githubusercontent.com/4104278/108515754-b83c1080-72c5-11eb-99b7-4ba838264f90.gif)
elasticmachine commented 3 years ago

Pinging @elastic/apm-ui (Team:apm)

botelastic[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.