log OTEL internal logs

This commit is contained in:
Tomas 2024-08-12 20:12:47 +03:00
commit 25b59e74ca
4 changed files with 169 additions and 1 deletions

View file

@ -55,6 +55,9 @@ func Initialize() error {
insecure := config.GetTracingInsecureTransport()
// Log internal OTEL logs
otel.SetLogger(log.NewLogrLogger())
var tpo trace.TracerProviderOption
switch config.GetTracingTransport() {
case "grpc":