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

add support CpusAllowedList for /proc/[pid]/status #490

Merged
merged 2 commits into from May 17, 2023

Conversation

Vatson112
Copy link
Contributor

Hi,

It may be usefull to collect CPU affinity info about processes.

For example, we can monitor:

  • Is out processes running on the same group of cores
  • Is there too many proceeses running on the same group of cores

Tests passes.

Signed-off-by: mn.albeschenko <albeschenko.work@gmail.com>
Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

proc_status.go Outdated Show resolved Hide resolved
Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

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

Nit about Go comment docs.

Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Johannes 'fish' Ziemke <github@5pi.de>
@discordianfish discordianfish merged commit b5b7dd5 into prometheus:master May 17, 2023
5 of 8 checks passed
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