appdash icon indicating copy to clipboard operation
appdash copied to clipboard

Impossible to view a whole trace's graph at once

Open dominikh opened this issue 9 years ago • 5 comments

When looking at a trace (/traces/<id>), the graph only shows two spans (the root, and one child). Clicking on the child loads a new page that shows the child and its child. There is no way to view the entire trace's graph at once. Screenshot with example attached:

2016-05-08-131156_1380x802_scrot

dominikh avatar May 08 '16 11:05 dominikh

Worse, the current design if the UI doesn't allow for displaying the entire tree at once, because the tree structure isn't visible. If each span had more than one child, one couldn't tell which span belonged to which.

dominikh avatar May 08 '16 11:05 dominikh

Some clarification: Viewing a trace /traces/<id> shows the root span (host1 above) and all of its children. I can confirm this behavior as working with go run ./examples/cmd/webapp-influxdb/main.go which shows:

image

In your case, the root span host1 appears to have only one child span host2. Note that profile view shows all spans in the trace, so these two views should differ.

In response to the feature request of viewing all spans in a trace at once via this view, I agree it's a good idea.

emidoots avatar May 10 '16 00:05 emidoots

Yes, this is a feature request, not a bug report. I'm sorry if I wasn't clear enough about that.

dominikh avatar May 10 '16 00:05 dominikh

No trouble at all, my misunderstanding, and thank you for raising this issue 😄

emidoots avatar May 10 '16 01:05 emidoots

What would be the current good practice? Have one root span and flatten the span tree in multiple children or wait for the feature to be implemented and keep a full span tree?

solher avatar Aug 26 '16 11:08 solher