-
Notifications
You must be signed in to change notification settings - Fork 524
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
Ensure that host.name is aligned with Elastic Agent system integration #8118
Comments
We should probably reconcile this with the inventory schema definition for "host", as well: https://github.com/elastic/observability-dev/blob/main/docs/dc/inventory_schema.md#host
|
Update: The EA changes don't seem to be relevant here, but we still need to follow up with the new ECS changes and take them into consideration. |
It seems to me that the recent changes make the existing values even muddier than they were previously.
ECS defines In one of the linked discussions, Andrew and Gil both mentioned that "I'm not sure if it's reasonable/viable for the pod to know its own node name", which makes me think that in many kubernetes cases, host.name and host.hostname will both be null. ... Stepping back a minute, it seems like in lots of contexts (containers, pods), it may not be necessary for a service to know anything about where it's running except the container ID. Do we reliably know the container ID for services running in containers? (All of this has major implications on Asset Topology, which is why I'm acutely interested. :D ) |
@AlexanderWert @estolfo if we want to follow the recommended value to set the lowercased FQDN for |
We have identified some issues on the Infra UI related to the missing
Missing APM agents properly reporting The main issue happens when we want to display APM-related information for a specific host (e.g: linking to APM services filtering by host name). In order to ensure a consistent and reliable method for searching hosts, it would be nice if the |
Hey @smith, thanks for this. I created an template for 'asks' to make it easy to lobby other teams for dependencies to be picked up and prioritised. Do you think you can update this issue to match the template as best as you can? (for this one, it doesn't need to be perfect - just generally enough to help me know who needs to do this and why they should do it) This helps me understand who I need to ask to prioritise this and why (I can start the conversation with them but they'll likely bounce it back and ask for more detail so this info makes it much more likely to be prioritised): At a high-level, it's just things like this: Title : [REQUIRED TEAM NAME] 📖 Description
...description... ⏯️ 📷 Demo of Issue
{insert media} Related Issues🛑 Blocked issues
😄 Issues improved
🔗 Other related issues
💰 Business Impact
Description... |
Hey @smith - just following up on this...I can't quite understand the ask/implication to our UI. You mind summarising quickly to help me talk to a PM about this if it needs prioritising? |
@roshan-elastic I spoke with @simitt on Slack and she gave a great outline of what we (or somebody) need to do:
ECS recently merged clarification that Here's the ECS reference for
OpenTelemetry semantic conventions have The problem we need to solve is the algorithm described in the issue description is not well specified and gets un-defined in some cases. |
Hey @smith - sorry, I completely missed this! Thanks for taking the time to look at this, this is really helpful! Let me have a think about how to tackle this but I'm thinking that we might have a few stakeholder on this - probably not many. For example, Miguel Luna (especially as he's very involved from a product POV on OTel) and not least, Sandra and yourself. Priority-wise, I don't think this is a burning priority as the most immediate outcome I can think of this would be allowing users to consistently search by Do you have any thoughts on when/how we tackle this? Happy to have a chat about this if it's easier? |
One option might be to hand over this issue from @elastic/apm-server to the group working on ECS/OTEL to clearly specify what |
APM Server sets host.hostname as follows:
If
configured_hostname
is set, then we use that forhost.name
. Ifconfigured_hostname
is not set, then we sethost.name
to the same value ashost.hostname
.This complicated algorithm comes from elastic/apm#21 (comment), where we intended to align with ECS (https://github.com/elastic/ecs/blob/1.0/use-cases/kubernetes.md). It is not explicitly captured in ECS, so we should verify that we're doing the right thing and update the docs (and Elastic Agent code if needed), or otherwise change the APM Server code.
The text was updated successfully, but these errors were encountered: