sourcegraph / appdash

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

Traces page order changes upon refresh #47

Closed slimsag closed 9 years ago

slimsag commented 9 years ago

I noticed when visiting the /traces page that the order of traces changes randomly upon refreshing the page. It would be nice if it was consistent upon multiple reloads, so long as the data doesn't change.

Probably is due to a map being used somewhere (which have no specific iteration order) within the template. Sorting would be a good option to fix this.

slimsag commented 9 years ago

Actually -- it looks like the appdash.Queryer is backed by a map somehow (or otherwise has a random order to it). Still, sorting is a good choice here.