You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version
github.com/hertz-contrib/obs-opentelemetry/logging/zap v0.0.0-20240705015228-9abdf96254a2
github.com/hertz-contrib/obs-opentelemetry/tracing v0.4.1
The text was updated successfully, but these errors were encountered:
ponecrazy
changed the title
Can not output extraKey when using logging/zap
Can not output extraKey I passed in when using logging/zap
Dec 13, 2024
Describe the bug
When using logging/zap with otel, if the span's IsValid() is false, the extraKey I passed in cannot be output in the log
Screenshots
github.com/hertz-contrib/obs-opentelemetry/logging/zap/logger.go: 59
Version
github.com/hertz-contrib/obs-opentelemetry/logging/zap v0.0.0-20240705015228-9abdf96254a2
github.com/hertz-contrib/obs-opentelemetry/tracing v0.4.1
The text was updated successfully, but these errors were encountered: