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

fix(compose): Enable measuring ContextSwitches in node-exporter #1821

Merged

Conversation

vimalk78
Copy link
Collaborator

Enables measuring per cpu context switches.

example:
image

Note: In case of isolated CPUs, if we dont specify --collector.perf.cpus config parameter, node-exporter will use the range from 0 to runtime.NumCPU() which does not include isolated CPUs. if this range includes isolated cpus those cpus will be considered, whereas the last few CPUs will be dropped.

e,.g. if there are 20 CPUs, and cpus 2,3,12,13 are isolated, not configuring --collector.perf.cpus means 0-15 will be shown, which includes the isolated cpus. which is counter intuitive.

sp pls mention the complete cpu range --collector.perf.cpus=0-19

@sthaha sthaha merged commit dccacf3 into sustainable-computing-io:main Oct 24, 2024
20 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.

2 participants