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

Reported lesser number of fluentd_output_status_error count metric than expected count #145

Closed
preeti-16 opened this issue Oct 3, 2024 · 2 comments

Comments

@preeti-16
Copy link

Hi,

Since client pod is down so when fluentd_output plugin is trying to send data to the output destination since destination is not reachable so error count got reported.
As retry_wait inside buffer section configuration is set to 10s so ideally retry should happened after 10sec but some additional seconds it took due to which there is a delay in reporting the error.

Below are some snippets of log messages:

{"log":{"message":"failed to flush the buffer. retry_times=0 next_retry_time=2024-09-26 04:20:04
{"log":{"message":"failed to flush the buffer. retry_times=1 next_retry_time=2024-09-26 04:20:15
{"log":{"message":"failed to flush the buffer. retry_times=2 next_retry_time=2024-09-26 04:20:25
{"log":{"message":"failed to flush the buffer. retry_times=3 next_retry_time=2024-09-26 04:20:37
{"log":{"message":"failed to flush the buffer. retry_times=4 next_retry_time=2024-09-26 04:20:48
{"log":{"message":"failed to flush the buffer. retry_times=5 next_retry_time=2024-09-26 04:21:00
{"log":{"message":"failed to flush the buffer. retry_times=6 next_retry_time=2024-09-26 04:21:13
{"log":{"message":"failed to flush the buffer. retry_times=7 next_retry_time=2024-09-26 04:21:24

Can you check this issue on priority.

Thanks

Copy link

github-actions bot commented Oct 3, 2024

@preeti-16 this issue was automatically closed because it did not follow the issue template.

@github-actions github-actions bot closed this as completed Oct 3, 2024
@daipom
Copy link
Contributor

daipom commented Oct 3, 2024

You need to set false to retry_randomize.

https://docs.fluentd.org/configuration/buffer-section#retries-parameters

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

No branches or pull requests

2 participants