-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(json_v2): use raw values for timestamps #10413
Conversation
👍 This pull request doesn't change the Telegraf binary size 📦 Looks like new artifacts were built from this PR. Expand this list to get them here ! 🐯Artifact URLs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thanks for looking into this @sspaink!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for jumping on this and fixing it!
(cherry picked from commit 18704de)
resolves: #10405
Similar to: #7555, the timestamps need to use the raw value or it might truncate the configured timestamp. Also updated the timestamp tests to compare the resulting timestamps, had to update the tests slightly to handle that the milliseconds and timezone weren't right.