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

[metrics/system/process] on Darwin cpu total ms seems off #200

Open
leehinman opened this issue Jan 8, 2025 · 0 comments
Open

[metrics/system/process] on Darwin cpu total ms seems off #200

leehinman opened this issue Jan 8, 2025 · 0 comments
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Comments

@leehinman
Copy link
Contributor

On Darwin if you run filebeat and top shows ~500% CPU for filebeat we would expect cpu.total.time.ms to be roughly 5 times the uptime.ms. This isn't the case. For example I see:

uptime.ms cpu.total.time.ms
77881 9649
96485 11956
115261 14307

If I run the same thing on Linux, the numbers are as expected.

These stats come from

func (procStats *Stats) GetSelf() (ProcState, error) {

@cmacknz cmacknz added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

No branches or pull requests

2 participants