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

macOS thermal throttling metrics #2031

Closed
STRRL opened this issue May 2, 2021 · 0 comments · Fixed by #2032
Closed

macOS thermal throttling metrics #2031

STRRL opened this issue May 2, 2021 · 0 comments · Fixed by #2032
Labels
platform/Darwin Darwin/MacOS specific issue

Comments

@STRRL
Copy link
Contributor

STRRL commented May 2, 2021

Hi! I am using node_exporter to monitoring my macbook, and I want to extend more metrics for that.

I always use pmset -g therm for fetching the thermal throttling info, like that:

$ pmset -g therm
Note: No thermal warning level has been recorded
Note: No performance warning level has been recorded
2021-05-02 11:51:57 +0800 CPU Power notify
	CPU_Scheduler_Limit 	= 100
	CPU_Available_CPUs 	= 12
	CPU_Speed_Limit 	= 100

So I want to append these three metrics: cpu_scheduler_limit, cpu_available_cpus and cpu_speed_limit for the node_exporter on darwin. These values could be fetched by IOKit, reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/Darwin Darwin/MacOS specific issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants