Skip to content

Commit

Permalink
Fix:Initialize the correct otel-grpc exporter (#2666) (#2679)
Browse files Browse the repository at this point in the history
Co-authored-by: yunfei <[email protected]>
(cherry picked from commit 1bd6abc)

Co-authored-by: Jovi <[email protected]>
  • Loading branch information
FoghostCn and snowleopard331 authored May 18, 2024
1 parent 8f81c76 commit 3439258
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 3439258

Please sign in to comment.