opentelemetry-go-contrib
opentelemetry-go-contrib copied to clipboard
Add logr log bridge
Add logr.LogSink log bridge.
Prototype implementation: https://github.com/pellared/opentelemetry-go/blob/147762ffb5c4394417b3f973274cc570723db79b/log/internal/logr.go
TODO:
- [ ] Implementation: (draft: https://github.com/open-telemetry/opentelemetry-go-contrib/pull/5357)
- [ ] Benchmarks
- [ ] Add to published modules
- [ ] Add to OpenTelemetry Registry. Example PR: https://github.com/open-telemetry/opentelemetry.io/pull/4857
- [ ] Handle key-naming conventions
Keen to pick this one up
@scorpionknifes You are assigned. I suggest also looking at https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/bridges/otelslog as reference.
@scorpionknifes, I added "TODO" steps to the issue description
@scorpionknifes, I think that at the point we can add otellogr to published modules.
I find it safer to track https://github.com/open-telemetry/opentelemetry-go-contrib/pull/5357#discussion_r1680750975 as a separate issue. We can even postpone its resolution until we get community feedback if it actually needed.