Fix thrift plugin generate duplicate traceid (#467)

This commit is contained in:
DarkerEcho 2023-03-05 18:10:42 +08:00 committed by GitHub
parent 122d0064f0
commit f04866cf24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Release Notes.
* Fix servicecomb plugin trace break.
* Adapt Armeria's plugins to the latest version 1.22.x
* Fix tomcat-10x-plugin and add test case to support tomcat7.x-8.x-9.x.
* Fix thrift plugin generate duplicate traceid when `sendBase` error occurs
#### Documentation
* Update docs of Tracing APIs, reorganize the API docs into six parts.

View File

@ -92,6 +92,7 @@ public class TServiceClientInterceptor implements InstanceConstructorInterceptor
Class<?>[] argumentsTypes,
Throwable t) {
ContextManager.activeSpan().log(t);
ContextManager.stopSpan();
}
private String getArguments(String method, TBase base) {