opentelemetry-rust
opentelemetry-rust copied to clipboard
Populate LogRecord.target in tracing-appender for logs-to-trace events
The opentelemetry-appender-tracing crate provides the interop between logs and tracing through experimental flag. So the events from the library instrumented using log
crate can be collected as tracing events, and forwarded to OpenTelemetry pipeline. The log.target
field should be populated to LogRecord.target
.
This is basically the "log.target" coming from log-to-tracing conversion. Will handle it as separate PR ?
Lets add an issue to track this too.
Originally posted by @cijothomas in https://github.com/open-telemetry/opentelemetry-rust/pull/1869#discussion_r1647966624