opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

Populate LogRecord.target in tracing-appender for logs-to-trace events

Open lalitb opened this issue 8 months ago • 0 comments

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

lalitb avatar Jun 20 '24 18:06 lalitb