-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Infra] Add OTel metric charts to Hosts View #229488
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] Add OTel metric charts to Hosts View #229488
Conversation
5a41e2d to
42b69a0
Compare
42b69a0 to
a44e422
Compare
… include wait state in CPU idle calculation
💚 Build Succeeded
Metrics [docs]Async chunks
Public APIs missing exports
Page load bundle
History
|
|
Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services) |
|
|
||
| const items = overview | ||
| ? [kibernetesNode.xy.nodeCpuCapacity, kibernetesNode.xy.nodeMemoryCapacity] | ||
| ? [kubernetesNode.xy.nodeCpuCapacity, kubernetesNode.xy.nodeMemoryCapacity] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Omg, good catch, how long have we been with this typo? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to Windsurf 😆 . It would've passed unnoticed again if it weren't for it.
MiriamAparicio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing, semconv formulas are quite complex, so I believe are right :)
closes [elastic#226333](elastic#226333) ## Summary This PR adds Otel system metrics Lens formulas and enables them on the hosts view **ecs:** <img width="900" height="645" alt="image" src="https://github.com/user-attachments/assets/e79ac886-f398-41d4-99a3-eaeeeb598596" /> <img width="900" height="615" alt="image" src="https://github.com/user-attachments/assets/586a6793-d536-4f0e-8ed5-6a9cc801e1ca" /> <img width="900" height="501" alt="image" src="https://github.com/user-attachments/assets/fc52ea34-62e2-4c31-89b2-e1e2185849c8" /> <img width="900" height="176" alt="image" src="https://github.com/user-attachments/assets/45e95934-400a-4f0f-b46d-656011affea8" /> **semconv:** <img width="900" height="650" alt="image" src="https://github.com/user-attachments/assets/6b4fb7f3-f81b-4e24-afab-a1efb7581d4b" /> <img width="900" height="635" alt="image" src="https://github.com/user-attachments/assets/1ed5d709-d129-4737-883f-4b4b0518b5c1" /> <img width="900" height="501" alt="image" src="https://github.com/user-attachments/assets/83eac473-f8f3-4fd8-8244-f9abca55ee07" /> <img width="900" height="177" alt="image" src="https://github.com/user-attachments/assets/6985b0c6-de80-41eb-8ee4-60cf0ca861f4" /> >[!NOTE] >Disk Space Available metric value is not the same between otel and semconv, and that is because of the difference in how the `filesystem` scrapper collects the same data Here is the data broken down by mount point to help understand what happens | otel | beats | |------|-----| |<img width="861" height="496" alt="image" src="https://github.com/user-attachments/assets/62a7e073-e661-40fa-8a0b-45d70edce714" />|<img width="1178" height="520" alt="image" src="https://github.com/user-attachments/assets/d968f3f3-0cde-41c1-8984-424fbfa69df5" />| ### How to test: - Clone: https://github.com/crespocarlos/elastic-stack-docker-compose/tree/inframetricsreceiver-removal-test-env - Spin up the docker containers - Connect your local kibana to the elasticsearch container - Set the `xpack.infra.featureFlags.hostOtelEnabled: true` - Navigate to Infrastructure > Hosts
closes [elastic#226333](elastic#226333) ## Summary This PR adds Otel system metrics Lens formulas and enables them on the hosts view **ecs:** <img width="900" height="645" alt="image" src="https://github.com/user-attachments/assets/e79ac886-f398-41d4-99a3-eaeeeb598596" /> <img width="900" height="615" alt="image" src="https://github.com/user-attachments/assets/586a6793-d536-4f0e-8ed5-6a9cc801e1ca" /> <img width="900" height="501" alt="image" src="https://github.com/user-attachments/assets/fc52ea34-62e2-4c31-89b2-e1e2185849c8" /> <img width="900" height="176" alt="image" src="https://github.com/user-attachments/assets/45e95934-400a-4f0f-b46d-656011affea8" /> **semconv:** <img width="900" height="650" alt="image" src="https://github.com/user-attachments/assets/6b4fb7f3-f81b-4e24-afab-a1efb7581d4b" /> <img width="900" height="635" alt="image" src="https://github.com/user-attachments/assets/1ed5d709-d129-4737-883f-4b4b0518b5c1" /> <img width="900" height="501" alt="image" src="https://github.com/user-attachments/assets/83eac473-f8f3-4fd8-8244-f9abca55ee07" /> <img width="900" height="177" alt="image" src="https://github.com/user-attachments/assets/6985b0c6-de80-41eb-8ee4-60cf0ca861f4" /> >[!NOTE] >Disk Space Available metric value is not the same between otel and semconv, and that is because of the difference in how the `filesystem` scrapper collects the same data Here is the data broken down by mount point to help understand what happens | otel | beats | |------|-----| |<img width="861" height="496" alt="image" src="https://github.com/user-attachments/assets/62a7e073-e661-40fa-8a0b-45d70edce714" />|<img width="1178" height="520" alt="image" src="https://github.com/user-attachments/assets/d968f3f3-0cde-41c1-8984-424fbfa69df5" />| ### How to test: - Clone: https://github.com/crespocarlos/elastic-stack-docker-compose/tree/inframetricsreceiver-removal-test-env - Spin up the docker containers - Connect your local kibana to the elasticsearch container - Set the `xpack.infra.featureFlags.hostOtelEnabled: true` - Navigate to Infrastructure > Hosts
closes #226333
Summary
This PR adds Otel system metrics Lens formulas and enables them on the hosts view
ecs:
semconv:
Note
Disk Space Available metric value is not the same between otel and semconv, and that is because of the difference in how the
filesystemscrapper collects the same dataHere is the data broken down by mount point to help understand what happens
How to test:
xpack.infra.featureFlags.hostOtelEnabled: true