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 three different viewing modes to Aggregate View. #58

Closed slimsag closed 9 years ago

slimsag commented 9 years ago

This change adds three different viewing modes to the new Aggregate View:

The httptrace package by default names root spans based on the request's host field (i.e. the host server). This means that Root Spans will show you the hosts taking up the most time in your system:


default_root_spans

Sub-spans are typically sub-operations in your system, for example SQL queries or outbound server-side HTTP requests, so Sub Spans view will show you which sub-operations in your system took the most time:


sub_spans

If you're interested in which sub-operations took the most time in each of your hosts (root traces), then All Spans is a good viewing mode:


all_spans

Each mode (as shown above) will trim out sections of the pie chart taking up less than 1% of the time -- depending on the near-equality of your time-spans that may be a lot (as shown above) -- but doesn't affect the primary use: identifying which take the most time.

When in doubt for which viewing mode to use, try each to see which one produces the best result for your use case.

beyang commented 9 years ago

omg so beautiful