From aa68210cde45aaa7c042ba59ea82838497a2ee11 Mon Sep 17 00:00:00 2001 From: SunJun Date: Tue, 24 Aug 2021 15:17:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dstream=E6=8B=A6=E6=88=AA?= =?UTF-8?q?=E5=99=A8tracer=E5=90=8D=E9=97=AE=E9=A2=98=20(#944)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zrpc/internal/clientinterceptors/opentracinginterceptor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zrpc/internal/clientinterceptors/opentracinginterceptor.go b/zrpc/internal/clientinterceptors/opentracinginterceptor.go index aa767983..69961a87 100644 --- a/zrpc/internal/clientinterceptors/opentracinginterceptor.go +++ b/zrpc/internal/clientinterceptors/opentracinginterceptor.go @@ -66,7 +66,7 @@ func StreamOpenTracingInterceptor() grpc.StreamClientInterceptor { requestMetadata, _ := metadata.FromOutgoingContext(ctx) metadataCopy := requestMetadata.Copy() - tr := otel.Tracer("ecoplants") + tr := otel.Tracer(opentelemetry.TraceName) name, attr := opentelemetry.SpanInfo(method, cc.Target()) var span trace.Span