-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[otelcol] Tell all loggers to encode timestamps in ISO8601. #10543
base: main
Are you sure you want to change the base?
[otelcol] Tell all loggers to encode timestamps in ISO8601. #10543
Conversation
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Closed as inactive. Feel free to reopen if this PR is still being worked on. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10543 +/- ##
=======================================
Coverage 91.69% 91.69%
=======================================
Files 411 411
Lines 19294 19296 +2
=======================================
+ Hits 17692 17694 +2
Misses 1241 1241
Partials 361 361 ☔ View full report in Codecov by Sentry. |
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.
LGTM. Please add a changelog entry. IMO this is best documented as a breaking change since it may affect users who are consuming the collector's logs.
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Sorry, still planning to work on this. |
Description
OTel collector log messages in Windows are currently displayed in scientific notation, e.g.:
This fix will cause the log messages to use ISO8601 timestamps instead.
Testing
Manual testing.
Documentation
The previous behavior was undocumented, so no documentation changes needed.