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

Add host provider that pulls from remote Core Agent. #341

Open
tobz opened this issue Nov 20, 2024 · 0 comments
Open

Add host provider that pulls from remote Core Agent. #341

tobz opened this issue Nov 20, 2024 · 0 comments
Labels
area/config Configuration. effort/intermediate Involves changes that can be worked on by non-experts but might require guidance. type/enhancement An enhancement in functionality or support.

Comments

@tobz
Copy link
Member

tobz commented Nov 20, 2024

Context

Currently, we have a host provider -- AgentLikeHostProvider -- that is meant to emulate the Datadog Agent's hostname resolution behavior. This provider does work, but it has some notable shortcomings in support and changes to the Datadog Agent's hostname resolution logic are still happening on a regular cadence.

It would be good to add a new host provider that instead talks to the Datadog Agent to retrieve the hostname. The Core Agent's internal API already exposes the GetHostname RPC which exposes the same hostname that the Core Agent detects. This would allow us to rely more on the existing logic in the Datadog Agent instead of maintaining parallel implementations of this logic ourselves.

@tobz tobz added area/config Configuration. effort/intermediate Involves changes that can be worked on by non-experts but might require guidance. type/enhancement An enhancement in functionality or support. labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config Configuration. effort/intermediate Involves changes that can be worked on by non-experts but might require guidance. type/enhancement An enhancement in functionality or support.
Projects
None yet
Development

No branches or pull requests

1 participant