-
Notifications
You must be signed in to change notification settings - Fork 1.8k
opentelemetry: remove enforcement of timestamp fields for logs (backport v4.0) #10814
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
Conversation
Added logic to use the current host time when both timeUnixNano and observedTimeUnixNano are absent, removing the previous hard requirement for a timestamp in OTEL log records. Updated to prioritize observed_time_unix_nano when time_unix_nano is missing and to omit observed_timestamp metadata when no value is available. Signed-off-by: Eduardo Silva <[email protected]>
Signed-off-by: Eduardo Silva <[email protected]>
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
…ndling Signed-off-by: Eduardo Silva <[email protected]>
8595c17
to
09bc3d8
Compare
Backport of #10813 , fixes #10793
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.