elastic / kibana

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

[APM] Change the "Time spent by span type" chart to use latency instead of percentage #94411

Open formgeist opened 3 years ago

formgeist commented 3 years ago

Summary

We should convert the "Time spent by span type" chart from percentage to duration on the y-axis. That way it's easier to relate the distribution between each span type to accumulated latency.

The title should be changed to Average duration by span type

Screenshot 2021-03-11 at 12 28 36
elasticmachine commented 3 years ago

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

smith commented 3 years ago

I read an article recently that may be worth considering: Stacked Area Graphs Are Not Your Friend.

formgeist commented 3 years ago

@smith Thanks for sharing the article. I do agree with a lot of the general points on how to use stacked areas, but we currently can't afford some of the alternatives (displaying individual charts for each series). I think perhaps we can experiment with the chart itself if we convert it to duration instead of %. Additionally, we could offer an option to switch between % and duration inside the chart panel allowing the user to see either chart.

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.