sourcegraph / appdash

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

Improvements on `D3 Timeline` data. #108

Closed chris-ramon closed 8 years ago

chris-ramon commented 8 years ago

Details

Notes:

slimsag commented 8 years ago

Who emits an empty TimespanEvent in the first place? It could be confusing if someone emits a span that does not have a timespan, and then it does not show up in the frontend UI.

Instead, we should probably catch this at the moment of intent. I.e. if someone emits a TimespanEvent with empty times we log an error / ignore it there (they could insert a panic to track down the bug, but panic is not good in production).