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
This tripped our custom subscriber. While we're fixing it and making it more robust, is there anything that can be done on tracing side to prevent duplicate "message" fields? Are FieldSets even meant to have only unique fields?
The text was updated successfully, but these errors were encountered:
Bug Report
Description
The
opentelemetry-rust
people have started usingtracing
to log their internal errors, but decided to wraptracing
macro calls inside custom macros.https://github.com/open-telemetry/opentelemetry-rust/blob/f46bccceab3a019fe4c2a46473dbef2c0d217702/opentelemetry/src/global/internal_logging.rs#L71-L78
Unfortunately, they also decided to set the
"message"
fields explicitly while their macros add an empty implicit"message"
field.https://github.com/open-telemetry/opentelemetry-rust/blob/f46bccceab3a019fe4c2a46473dbef2c0d217702/opentelemetry-sdk/src/trace/span_processor.rs#L381-L382
This tripped our custom subscriber. While we're fixing it and making it more robust, is there anything that can be done on
tracing
side to prevent duplicate"message"
fields? AreFieldSet
s even meant to have only unique fields?The text was updated successfully, but these errors were encountered: