prometheus / procfs

procfs provides functions to retrieve system, kernel and process metrics from the pseudo-filesystem proc.
Apache License 2.0
756 stars 311 forks source link

Fix CPUVulnerabilities() reporting from sysfs #532

Closed mwasilew2 closed 1 year ago

mwasilew2 commented 1 year ago

closes #531

This PR contains a few changes (each in a separate commit):

mwasilew2 commented 1 year ago

@discordianfish @SuperQ is there anything else I can help with here?

mwasilew2 commented 1 year ago

rebased onto upstream

edit: due to unrelated failures in the CI

mwasilew2 commented 1 year ago

the codespell job is failing, but it's unrelated to this change

Here's the job definition: https://github.com/prometheus/procfs/blob/abbfda0b3c04c4536faa158b44a4047e357ede23/.circleci/config.yml#L38-L45

the docker image hasn't changed recently: https://hub.docker.com/r/circleci/python/tags

codespell pip package was updated yesterday: https://pypi.org/project/codespell/#history

I think this is unrelated and should be handled in a separate issue/PR. I'll open a separate one

SuperQ commented 1 year ago

Going to ignore the codespell, it's fixed in HEAD.