Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed May 25, 2023
1 parent ad01e12 commit a387f6c
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions pkg/trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,26 +209,7 @@ func getOtlpTracerProvider(options Options) trace.TracerProvider {
if err != nil {
panic(err)
}
/*
opts := []otlptracegrpc.Option{
otlptracegrpc.WithEndpoint(options.Endpoint),
}
if options.TransportCredentials != nil {
opts = append(opts, otlptracegrpc.WithTLSCredentials(options.TransportCredentials))
}
if options.Insecure {
opts = append(opts, otlptracegrpc.WithInsecure())
}
exporter, err := otlptrace.New(
context.Background(),
otlptracegrpc.NewClient(opts...),
)

if err != nil {
panic(err)
}
*/
resources, err := resource.New(
context.Background(),
resource.WithAttributes(
Expand Down

0 comments on commit a387f6c

Please sign in to comment.