-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Feature request: add os version for Mac OS (Darwin) #2271
Comments
We don't allow executing commands in the node-exporter but if there is a syscall or stdlib function to get that, we'd be open to including this. |
Let me share a link to the sw_vers source code. |
Yeah looks like they are all available via CFDictionaryGetValue. So unless this needs root permissions it should be fine to add it here. |
Similar values are in sysctl:
|
I would like to work on this. |
I think this is already implemented.
Please let me know if this is still required. |
It's about `node_os_info` and `node_os_version` metrics implemented for Linux in #1574 (after a discussion of it's needed).
|
This issue can be closed since the feature has been implemented with #2471 |
Can be obtained with
sw_vers
:The text was updated successfully, but these errors were encountered: