sourcegraph / appdash

Application tracing system for Go, based on Google's Dapper.
https://sourcegraph.com
Other
1.72k stars 137 forks source link

traceapp: add Aggregate View #56

Closed slimsag closed 9 years ago

slimsag commented 9 years ago

This change adds an aggregated data view for viewing multiple traces aggregated together. The idea is that all traces with the same name are joined together, and their total time spent is shown in the sorted pie-chart (rendered via d3pie).

To open aggregate view simply go to the Traces page and select the traces you'd like to view, click the Traces drop-down and select Aggregate View:


menu

Selecting just five traces produces a page showing the cumulative time of just those five traces, showing that the traces named zri.ozruamwe.ll took the most time (25% of all selected traces):


just_five

Of course, using it on all 60 traces produces a much more interesting result:


all_60

Showing that fia.com took 14% of the total time, followed by web.kraesey.net at 12%, and so on.