From 1bd6abc9110f07daec24ec0c09dac9c987e20593 Mon Sep 17 00:00:00 2001 From: Jovi Date: Tue, 23 Apr 2024 13:47:43 +0800 Subject: [PATCH] Fix:Initialize the correct otel-grpc exporter (#2666) Co-authored-by: yunfei --- otel/trace/otlp/exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otel/trace/otlp/exporter.go b/otel/trace/otlp/exporter.go index 3c0c105425..ecf2f38123 100644 --- a/otel/trace/otlp/exporter.go +++ b/otel/trace/otlp/exporter.go @@ -45,7 +45,7 @@ var ( func init() { extension.SetTraceExporter("otlp-http", newHttpExporter) - extension.SetTraceExporter("otlp-grpc", newHttpExporter) + extension.SetTraceExporter("otlp-grpc", newGrpcExporter) } type Exporter struct {