Skip to content

Commit

Permalink
Fix:Initialize the correct otel-grpc exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
yunfei committed Apr 23, 2024
1 parent f17a4e0 commit 46f1911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otel/trace/otlp/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 46f1911

Please sign in to comment.