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

fluentd exporter: Disconnect and retry DNS lookup on socket failure #469

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

justin-mccann
Copy link
Contributor

@justin-mccann justin-mccann commented Jul 17, 2024

On socket failure, re-initialize the address info.

Along with #468, this triggers a new DNS lookup.

To prevent immediate retries that quickly exhaust the retry count,
add a retry_delay_ms to FluentdExporterOptions, defaulting to 1000ms.

We found this useful when deploying in a Kubernetes environment,
where the targeted service endpoint may not yet be up when a logging client starts up.

@justin-mccann justin-mccann requested a review from a team July 17, 2024 23:36
@zurex
Copy link
Contributor

zurex commented Mar 17, 2025

any test cases in your PR? It would be better that your changed could be covered by unit test.

@ThomsonTan ThomsonTan requested a review from a team as a code owner March 25, 2025 03:52
@ThomsonTan ThomsonTan self-assigned this Mar 25, 2025
@ThomsonTan
Copy link
Contributor

@lalitb any comment on this?

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