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

[Infra] Hosts view show up duplicate hosts #178650

Closed
cauemarcondes opened this issue Mar 13, 2024 · 8 comments
Closed

[Infra] Hosts view show up duplicate hosts #178650

cauemarcondes opened this issue Mar 13, 2024 · 8 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@cauemarcondes
Copy link
Contributor

I'm running on my local environment the APM agent and Metricbeats, and when I open the hosts view I see my local host twice.

Screenshot 2024-03-13 at 16 01 38

This becomes more problematic as I cannot correlate APM services running on that host.

Screenshot 2024-03-13 at 15 41 04
@cauemarcondes cauemarcondes added bug Fixes for quality problems that affect the customer experience Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Mar 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@roshan-elastic
Copy link

Thanks for this @cauemarcondes. I'm trying to get a sense of scale/impact here...do we know when this happens?

e.g. does this happen every time a host name is not all lower-case? (e.g. an EC2 instance which isn't entered as lower-case)

@smith do you think this is something we should try and address or should we be asking the APM agent team / normal agent teams to be consistent?

@crespocarlos
Copy link
Contributor

The query would have to run a terms aggs that is case insensitive if we want to remove duplicates at query level. Probably the best solution would be if APM agents and metricbeat shipped the same host.name.

@smith
Copy link
Contributor

smith commented Mar 29, 2024

I've opened elastic/beats#38689 and am closing this. The host name is case sensitive and should not be modified by agents.

@smith smith closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2024
@trentm
Copy link
Member

trentm commented Apr 3, 2024

@cauemarcondes Do you know which APM agent(s) and Beat(s) were reporting those host.name values?
E.g. can you show agent.* values for the Elasticsearch documents with those two variants of the host.name value?

@cauemarcondes
Copy link
Contributor Author

cauemarcondes commented Apr 4, 2024

Do you know which APM agent(s) and Beat(s) were reporting those host.name values?

I used the APM GO (github.com/gin-gonic/gin v1.9.1) agent and metricbeat-8.12.1-darwin-x86_64

@roshan-elastic
Copy link

@smith - should we reopen this and add it to the backlog in either HCS phase I or phase II?

Wondering which phase it makes sense to be done in?

As a user, I'd want it to be part of phase I given other deliverables in the acceptance criteria but I don't know if that's realistic.

@smith
Copy link
Contributor

smith commented Apr 11, 2024

@roshan-elastic the UI problem is a side-effect of the data problem which is being solved between beats, APM, and Otel agents. A UI fix would be counter-productive and we should leave this closed.

Additionally, we haven't seen any reports from customers having this problem in production environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

6 participants