-
Notifications
You must be signed in to change notification settings - Fork 523
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
Support fully qualified domain name in host #10741
Comments
From discussion in the Agents meeting today, the That means that creating the FQDN in apm-server will involve a heuristic to determine if the hostname info includes domain info. |
@trentm is that described logic already the case or are different agents just going to have different implementations in the future? In case of the latter, then I'd be curious to know why you would prefer that over adding a dedicated new fieldfor the FQDN? |
My understanding from the discussion is that it is already the case.
|
What about |
If the user sets If the |
If various agents are already sending an FDQN, and we want to end up with them all doing that, I wonder if it is worth the complexity of sending additional information and joining fields server-side. What's the downside of simply updating the agents that send an unqualified hostname to send an FQDN? |
From the APM agents weekly discussion the downside mentioned was that it would potentially be considered a breakage for users upgrading that agent. (I don't have a strong opinion either way here.) |
Closing this issue according to the plans to support FQDN directly in the apm agents (see spec draft). |
Problem
ECS changed the definition of
host.name
and encourages to use the fully qualified domain name for the host name.Solution
The Elastic Agent supports this behind a feature flag (to avoid breaking changes for users).
The APM agents need to collect the
host.domain
information, but only the APM server knows if the Elastic agent is configured to store theFQDN
. The server needs to query this configuration from the Elastic agent policy, and if enabled, prepend the domain name to thehost
to yield aFQDN
.related elastic/apm#793
The text was updated successfully, but these errors were encountered: