From 610bb0ae900086cfa08ad2859fcfa148bc3845d7 Mon Sep 17 00:00:00 2001 From: tydhot <583125614@qq.com> Date: Wed, 20 Apr 2022 15:35:07 +0800 Subject: [PATCH] record exception in dubbo high version --- .../instrumentation/apachedubbo/v2_7/TracingFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java b/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java index 25865362cc31..af0dffe1c4b5 100644 --- a/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java +++ b/instrumentation/apache-dubbo-2.7/library-autoconfigure/src/main/java/io/opentelemetry/instrumentation/apachedubbo/v2_7/TracingFilter.java @@ -63,7 +63,7 @@ public Result invoke(Invoker invoker, Invocation invocation) { throw e; } if (isSynchronous) { - instrumenter.end(context, request, result, null); + instrumenter.end(context, request, result, result.getException()); } return result; }