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

Correct layout of SystemInfo structs #788

Merged

Conversation

benridley
Copy link
Contributor

This corrects the layout of the SystemInfo structs which previously had a field that was too small, causing the struct to return the wrong values after being modified by the WinAPI function.

Signed-off-by: Ben Ridley benridley29@gmail.com

…g read

Signed-off-by: Ben Ridley <benridley29@gmail.com>
Copy link
Collaborator

@carlpett carlpett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a hard time verifying this at the moment, but looks like it lines up with the docs at least :)

@carlpett carlpett merged commit 74eac8f into prometheus-community:master May 21, 2021
@ravpatiltibco
Copy link

I have downloaded windows exporter version 0.16.0 from assets section. Few matrices like windows_system_system_up_time getting no values after installing. Please advise.

@benridley
Copy link
Contributor Author

Hi @ravpatiltibco, the System uptime metric is collected differently to the metrics concerned in this PR. From first glance it appears its using perflib to find the metrics. Are you getting any values for other perflib metrics like processor_queue_length?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants