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 support for exporting and importing multiple JSON traces. #51

Closed slimsag closed 9 years ago

slimsag commented 9 years ago

Prior to this change you could export and import a single trace as JSON text at a time. After this change you can select multiple traces on the Traces page and perform certain operations on them through the Traces options drop-down menu:


new_traces_page


By default all of the traces are selected. The Traces drop-down menu features options to operate on traces:


traces_menu


Just as when copying a individual trace on it's page (via the Copy as JSON link) -- the Export Selected button copies the JSON trace data to your clipboard, which can then be imported using the Import JSON button on the Traces page.

To simplify the process, the JSON format is now changed to an array of JSON appdash.Trace objects (even if there is only one trace being exported).

In the future, this menu will also offer a way to view multiple traces data aggregated together into a single view.