public static interface AnnotationSubmitter.Clock
| Modifier and Type | Method | Description |
|---|---|---|
long |
currentTimeMicroseconds() |
Epoch microseconds used for
Span.timestamp and Annotation.timestamp. |
long currentTimeMicroseconds()
Span.timestamp and Annotation.timestamp.
This should use the most precise value possible. For example, gettimeofday or multiplying
System.currentTimeMillis() by 1000.
See Instrumenting a service for more.
Copyright © 2018 OpenZipkin. All rights reserved.