Updates to Brave 4.18.0

This commit is contained in:
Adrian Cole
2018-03-13 15:38:36 +08:00
parent bf6546c2ab
commit 404bd9d7e4
4 changed files with 4 additions and 4 deletions

View File

@@ -272,7 +272,7 @@
<spring-cloud-stream.version>Elmhurst.BUILD-SNAPSHOT</spring-cloud-stream.version>
<spring-cloud-netflix.version>2.0.0.BUILD-SNAPSHOT</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.0.0.BUILD-SNAPSHOT</spring-cloud-openfeign.version>
<brave.version>4.17.3-SNAPSHOT</brave.version>
<brave.version>4.18.0</brave.version>
<!-- Version set until zipkin-junit gets defined in Brave BOM -->
<zipkin.version>2.5.1</zipkin.version>
<spring-security-boot-autoconfigure.version>2.0.0.RELEASE</spring-security-boot-autoconfigure.version>

View File

@@ -213,7 +213,7 @@ class SleuthInterceptor implements IntroductionInterceptor, BeanFactoryAware {
if (hasLog) {
logEvent(span, log + ".afterFailure");
}
errorParser().parseErrorTags(span, e);
errorParser().parseErrorTags(span.customizer(), e);
throw e;
} finally {
if (hasLog) {

View File

@@ -65,7 +65,7 @@ public class TraceCallable<V> implements Callable<V> {
error = e;
throw e;
} finally {
this.errorParser.parseErrorTags(this.span, error);
this.errorParser.parseErrorTags(this.span.customizer(), error);
this.span.finish();
}
}

View File

@@ -65,7 +65,7 @@ public class TraceRunnable implements Runnable {
error = e;
throw e;
} finally {
this.errorParser.parseErrorTags(this.span, error);
this.errorParser.parseErrorTags(this.span.customizer(), error);
this.span.finish();
}
}