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

Retry FQDN lookup until it succeeds #37835

Open
ycombinator opened this issue Feb 1, 2024 · 1 comment
Open

Retry FQDN lookup until it succeeds #37835

ycombinator opened this issue Feb 1, 2024 · 1 comment
Labels
enhancement Team:Elastic-Agent Label for the Agent team

Comments

@ycombinator
Copy link
Contributor

Based on #37756 (comment).

Currently, we try to lookup the FQDN for the host that the Beat is running on once during startup. If that lookup fails, we fallback to the OS-provided hostname and move on. That is, we never retry the FQDN lookup again. We should keep retrying the lookup until it succeeds, probably with an exponential backoff, since the lookup failure could be due to a transient network problem.

@ycombinator ycombinator added enhancement Team:Elastic-Agent Label for the Agent team labels Feb 1, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

2 participants