Updates to Brave 4.18.0
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user