Skip to content

[system] fix CPU Usage on [Metrics System] Overview "hosts" tab#14482

Merged
mykola-elastic merged 2 commits intoelastic:mainfrom
mykola-elastic:system-fix-hosts-cpu-usage
Jul 11, 2025
Merged

[system] fix CPU Usage on [Metrics System] Overview "hosts" tab#14482
mykola-elastic merged 2 commits intoelastic:mainfrom
mykola-elastic:system-fix-hosts-cpu-usage

Conversation

@mykola-elastic
Copy link
Copy Markdown
Contributor

@mykola-elastic mykola-elastic commented Jul 10, 2025

For "CPU Usage" panels in [Metrics System] Overview and [Metrics System] Host Overview the system.cpu.total.norm.pct metrics is used. However, in the [Metrics System] Overview dashboard, in the panel with "Host", "CPU Usage", "Memory Usage" (see screenshots) the system.process.cpu.total.norm.pct metric is used which is 0.00% most of the time. This PR sets it to system.cpu.total.norm.pct.

Proposed commit message

See title.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

With the changes from this PR the CPU Usage is now the same, see screenshot of [Metrics System] Overview and [Metrics System] Host Overview (highlighted by red rounded rectangles):

Screenshot 2025-07-10 at 13 40 52 (2)

@mykola-elastic mykola-elastic self-assigned this Jul 10, 2025
@mykola-elastic mykola-elastic added Integration:system System Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] bugfix Pull request that fixes a bug issue labels Jul 10, 2025
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

cc @mykola-elastic

@elastic-sonarqube
Copy link
Copy Markdown

@ishleenk17
Copy link
Copy Markdown
Member

Please add screenshot of the host in host overview too.

@mykola-elastic mykola-elastic marked this pull request as ready for review July 10, 2025 11:49
@mykola-elastic mykola-elastic requested review from a team as code owners July 10, 2025 11:49
@andrewkroh andrewkroh added the dashboard Relates to a Kibana dashboard bug, enhancement, or modification. label Jul 10, 2025
@ishleenk17
Copy link
Copy Markdown
Member

@mykola-elastic : I don't expect any change in the dashboard image.
Otherwise looks good!

@mykola-elastic mykola-elastic merged commit 8e2e203 into elastic:main Jul 11, 2025
9 checks passed
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

Package system - 2.3.3 containing this change is available at https://epr.elastic.co/package/system/2.3.3/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes a bug issue dashboard Relates to a Kibana dashboard bug, enhancement, or modification. Integration:system System Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants