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

pkg/stanza: use ObservedTimestamp to decide if flush log for recombine operator #11433

Merged

Conversation

sumo-drosiek
Copy link
Member

@sumo-drosiek sumo-drosiek commented Jun 22, 2022

Description:

Now Timestamp is taken into consideration while deciding to flush log in recombine operator.
The issue is that timestamp comes from log body and can be behind the time log has been read.
Switching it to ObservedTimestamp, so time of reading logs will be taken instead

Link to tracking Issue: N/A

Testing: manual only

… to decide if flush log

Signed-off-by: Dominik Rosiek <[email protected]>
@sumo-drosiek sumo-drosiek changed the title fix(pkg/stanza/operator/transformer/recombine): use ObservedTimestamp to decide if flush log pkg/stanza: use ObservedTimestamp to decide if flush log for recombine operator Jun 22, 2022
Signed-off-by: Dominik Rosiek <[email protected]>
@sumo-drosiek sumo-drosiek marked this pull request as ready for review June 22, 2022 08:59
@sumo-drosiek sumo-drosiek requested review from a team and djaglowski as code owners June 22, 2022 08:59
@djaglowski djaglowski merged commit 2b7a3c7 into open-telemetry:main Jun 22, 2022
@sumo-drosiek sumo-drosiek deleted the drosiek-filelog-fix-recombine branch June 22, 2022 13:45
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.

3 participants