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 1 commit 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
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