Skip to content

Clarification on StatsD Timing Unit Conversion (ms to s) #22656

Closed Answered by pront
devkoriel asked this question in Q&A

You must be logged in to vote

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 an Option<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.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@devkoriel

Answer selected by devkoriel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
source: statsd Anything `statsd` source related sink: statsd Anything `statsd` sink related
2 participants