Skip to content

Commit

Permalink
add export usehttp falg
Browse files Browse the repository at this point in the history
  • Loading branch information
afocus committed Apr 25, 2022
1 parent 628c0e4 commit 4209e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func ExportHTTP(endpoint string, usehttps bool) func(ctx context.Context) (trace
if !usehttps {
opts = append(opts, otlptracehttp.WithInsecure())
}
return otlptracehttp.New(ctx,...opts)
return otlptracehttp.New(ctx, opts...)
}
}

Expand Down

0 comments on commit 4209e1c

Please sign in to comment.