Skip to content
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

Setting event timestamp from OTel observed timestamp when needed #166

Merged
merged 6 commits into from
Oct 19, 2023

Conversation

LikeTheSalad
Copy link
Contributor

When receiving an OTel log, sometimes the timestamp might not be available as explained here. Currently, in those cases, the logs are recorded with the timestamp set to the unix epoch start time, which has already caused issues to our customers since they can't find their logs in Kibana within the right time range.

These changes aim to check when the timestamp is not set so that the "observed timestamp" is used instead.

@LikeTheSalad LikeTheSalad requested a review from a team as a code owner October 6, 2023 14:45
AlexanderWert
AlexanderWert previously approved these changes Oct 6, 2023
estolfo
estolfo previously approved these changes Oct 6, 2023
kruskall
kruskall previously approved these changes Oct 6, 2023
Copy link
Member

@kruskall kruskall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

carsonip
carsonip previously approved these changes Oct 9, 2023
@carsonip carsonip merged commit 82201b9 into elastic:main Oct 19, 2023
@LikeTheSalad LikeTheSalad deleted the add-logs-timestamp branch November 20, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants