Added missing check for exportable

fixes #224
This commit is contained in:
Marcin Grzejszczak
2016-03-23 12:18:20 +01:00
parent e87389bb45
commit 9c66bed2bb

View File

@@ -173,6 +173,8 @@ public class ZipkinSpanListener implements SpanReporter {
@Override
public void report(Span span) {
this.reporter.report(convert(span));
if (span.isExportable()) {
this.reporter.report(convert(span));
}
}
}