Skip to content

Commit

Permalink
log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Varkeychan Jacob authored and Varkeychan Jacob committed Jun 4, 2024
1 parent ddc987e commit 5e1e866
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion instrumentation/opentelemetry/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ func makeExporterFactory(cfg *config.AgentConfig) func() (sdktrace.SpanExporter,
RootCAs: caCertPool,
}
opts = append(opts, otlphttp.WithTLSClientConfig(tlsCfg))
} else {
log.Printf("error while parsing the cert file %s: %v", certFile, err)
}
} else {
log.Printf("error while creating tls credentials from cert path %s: %v", certFile, err)
log.Printf("error while reading the cert file %s: %v", certFile, err)
}
}

Expand Down

0 comments on commit 5e1e866

Please sign in to comment.