Skip to content

ensure correct log export start time after retry #51

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

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

sharkpc138
Copy link
Contributor

related: #46

  • Although the retry was triggered due to receipt-based retry logic modifications, the start time was not as expected
  • In the example below(in the production environment), the start time changed from 09:17:58 to 09:18:32, causing some logs not to be sent
// Failure start time: 09:17:58
I0407 10:18:32.478879       1 basic.go:126] [basic][took 10.189244s] upload 194934272 bytes to xxx/2025-04-07T09:17:58%252B09:00_2025-04-07T10:17:43%252B09:00.log
E0407 10:18:32.479175       1 exporter.go:141] Post "xxx/2025-04-07T09:17:58%252B09:00_2025-04-07T10:17:43%252B09:00.log": context deadline exceeded : ....
// Retry start time: 09:18:32
I0407 10:18:56.715621       1 basic.go:126] [basic][took 1.595640s] upload 195086287 bytes to xxx/2025-04-07T09:18:32%252B09:00_2025-04-07T10:18:15%252B09:00.log

@sharkpc138 sharkpc138 changed the title fix start time ensure correct log export start time after retry Apr 7, 2025
@sharkpc138 sharkpc138 merged commit 1ffa748 into main Apr 9, 2025
1 check passed
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.

1 participant