How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
0.48.4
Steps to reproduce
let value: f32 = 1.0;
tracing::info!("hi", value)
Expected result
Value should show up as a float in the sentry web UI
Actual result
value does not show up as a float in the sentry web ui
Investigation
I can see here that tracing supports floats in its structured values:
https://docs.rs/tracing/latest/tracing/field/trait.Visit.html#method.record_f64
But sentry's implementation of Visit does not implement record_f64
|
impl Visit for FieldVisitor { |
How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
0.48.4
Steps to reproduce
Expected result
Value should show up as a float in the sentry web UI
Actual result
value does not show up as a float in the sentry web ui
Investigation
I can see here that tracing supports floats in its structured values:
https://docs.rs/tracing/latest/tracing/field/trait.Visit.html#method.record_f64
But sentry's implementation of Visit does not implement record_f64
sentry-rust/sentry-tracing/src/converters.rs
Line 158 in eb932e2