-
Hi everyone, I hope you're all doing well. I have a question regarding the design decision where Vector converts StatsD timing values from milliseconds (ms) to seconds (s). According to the official documentation, "StatsD timings are emitted as distributions. Timings in milliseconds (ms) are converted to seconds (s)." While I understand that this conversion might have been implemented with a specific rationale in mind, I’m curious about the background and reasoning behind it. Points for Clarification
I appreciate any insights or context the community can provide regarding this implementation detail. Thanks for taking the time to help clarify this matter! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @devkoriel, I suppose you are referring to this: https://vector.dev/docs/reference/configuration/sources/statsd/#statsd-timings I am not aware of the rationale but I am a not a fan of implicit conversions. An easy non-intrusive improvement would be to add a new configuration option that controls the conversion. It could be be a |
Beta Was this translation helpful? Give feedback.
Hi @devkoriel, I suppose you are referring to this: https://vector.dev/docs/reference/configuration/sources/statsd/#statsd-timings
I am not aware of the rationale but I am a not a fan of implicit conversions. An easy non-intrusive improvement would be to add a new configuration option that controls the conversion. It could be be a
bool
or anOption<Unit>
. Then, users can choose to not convert the timings at all. Feel free to create a feature request https://github.com/vectordotdev/vector/issues for easier tracking.