Skip to content

Commit

Permalink
fix:fix the default sampled of tracer (sofastack#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhiyuan authored and ujjboy committed Dec 26, 2019
1 parent 8259830 commit ef40aef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public void serverReceived(SofaRequest request) {
}
if (spanContext == null) {
SelfLog.error("SpanContext created error when server received and root SpanContext created.");
spanContext = SofaTracerSpanContext.rootStart();
spanContext = SofaTracerSpanContext.rootStart(true);
}

SofaTracerSpan serverSpan = new SofaTracerSpan(this.sofaTracer, System.currentTimeMillis(),
Expand Down

0 comments on commit ef40aef

Please sign in to comment.