tracing
event's target
attribute in SpanData?
#3075
-
Rust's As far as I can tell, when It would be helpful to preserve the Is there a way to get the One potentially convenient way to use the target (though it would be a breaking change) would be to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is a good question/feature-request for the "tracing -> otel span bridge" (tracing-opentelemetry crate). It is not maintained in this repo. Can you raise this in https://github.com/tokio-rs/tracing-opentelemetry/issues?
|
Beta Was this translation helpful? Give feedback.
-
Regarding the last paragraph, there are some existing |
Beta Was this translation helpful? Give feedback.
This is a good question/feature-request for the "tracing -> otel span bridge" (tracing-opentelemetry crate). It is not maintained in this repo. Can you raise this in https://github.com/tokio-rs/tracing-opentelemetry/issues?
target
is something that maps well to OTel's InstrumentationScope name - that'd be the best way to modeltarget
, instead of changing SpanName itself or as Attributes.