Skip to content

Commit

Permalink
Sampled effect zipkin report (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
glmapper authored and caojie09 committed Nov 15, 2019
1 parent 647dc04 commit c624b0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public ZipkinSofaTracerSpanRemoteReporter(RestTemplate restTemplate, String base

@Override
public void onSpanReport(SofaTracerSpan span) {
if (span == null) {
if (span == null || !span.getSofaTracerSpanContext().isSampled()) {
return;
}
//convert
Expand Down

0 comments on commit c624b0f

Please sign in to comment.