Skip to content

Commit

Permalink
Fix:Initialize the correct otel-grpc exporter (#2666)
Browse files Browse the repository at this point in the history
Co-authored-by: yunfei <[email protected]>
  • Loading branch information
snowleopard331 and yunfei committed Apr 23, 2024
1 parent f17a4e0 commit 1bd6abc
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 1bd6abc

Please sign in to comment.