fix start time of span is zero issue
This commit is contained in:
parent
8af68b1481
commit
6509e7b758
|
|
@ -94,6 +94,9 @@ public class SkyWalkingSpanBuilder implements Tracer.SpanBuilder {
|
|||
|
||||
@Override
|
||||
public Span start() {
|
||||
if (startTime == 0){
|
||||
startTime = System.currentTimeMillis();
|
||||
}
|
||||
return new SkyWalkingSpan(this.operationName, this.startTime, this.tags);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue