-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
system.cpu.time and system.cpu.utilization metrics seem incorrect when running collector on a Windows operating system #32867
Comments
Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
receiver/hostmetrics
What happened?
Description
When running the hostmetrics receiver on a Windows operating system, the values of the system.cpu.time metrics, as well as those of the system.cpu.utilization metrics (among others) seem incorrect.
Steps to Reproduce
Download any of the v0.99.0 Windows binaries released for the otel collector on the releases page here.
Run the collector with the configuration provided further down on this page.
Check the hostmetrics.txt file created by the collector.
Expected Result
Expecting reasonably large values for system.cpu.time and system.cpu.utilization, as well as for all these values to be >= 0.0.
Actual Result
Unreasonably large values for system.cpu.time and system.cpu.utilization, whereas some of these values are < 0. (See the attached output from the hostmetrics.txt file further down on this page).
Collector version
v0.99.0
Environment information
Environment
Windows 11
OpenTelemetry Collector configuration
Log output
Additional context
Similar issue: #19119
The text was updated successfully, but these errors were encountered: