-
Hello All, Getting totally confused why I am getting this error after updating all my opentelemetry-* libraries to 0.26.0. Research suggests this is a mismatch of library versions, but looking at the output of The error:
The was working code, but with meter code commented out (this was giving different error):
Tried different variations here, but none of them worked. I am trying to find an example that does this also, without success. My latest attempt is here: https://github.com/brianmay/robotica-rust/blob/09113044a5be4a219266bfa4d9a3e270e5829c25/brian-backend/src/logging.rs#L173-L182 This is the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Never mind, just worked out I need
Which is odd, I tried this numerous times before and it didn't work. But suddenly right now it is working. |
Beta Was this translation helpful? Give feedback.
Never mind, just worked out I need
tracing-opentelemetry = "0.27.0"
, because that depends onopentelemetry* 0.26.*
.tracing-opentelemetry = "0.26.0"
depends onopentelemetry 0.25.0
, which is why I was getting errors.Which is odd, I tried this numerous times before and it didn't work. But suddenly right now it is working.