Updating the duration setting (#360)

* Updating the duration setting

fixes #349
This commit is contained in:
Marcin Grzejszczak
2016-07-29 23:29:31 +02:00
committed by GitHub
parent f74dafbda6
commit 11e520c70d
5 changed files with 105 additions and 3 deletions

View File

@@ -251,6 +251,10 @@ public class Span {
* Return the total amount of time elapsed since start was called, if running, or
* difference between stop and start, in microseconds.
*
* Note that in case of the spans that have CS / CR events we will not
* send to Zipkin the accumulated microseconds but will calculate the
* duration basing on the timestamps of the CS / CR events.
*
* @return zero if not running, or a positive number of microseconds.
*/
@JsonIgnore