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

Enable *bsd collector on darwin #265

Merged
merged 1 commit into from
Jul 6, 2016

Conversation

discordianfish
Copy link
Member

Well that was easy :)

The cgo based bsd variant just works on darwin:

$ curl -s 192.168.1.104:9100/metrics|grep '/dev/disk1'
node_filesystem_avail{device="/dev/disk1",fstype="hfs",mountpoint="/"} 7.5835293696e+10
node_filesystem_files{device="/dev/disk1",fstype="hfs",mountpoint="/"} 5.8315941e+07
node_filesystem_files_free{device="/dev/disk1",fstype="hfs",mountpoint="/"} 1.8514476e+07
node_filesystem_free{device="/dev/disk1",fstype="hfs",mountpoint="/"} 7.6097437696e+10
node_filesystem_readonly{device="/dev/disk1",fstype="hfs",mountpoint="/"} 0
node_filesystem_size{device="/dev/disk1",fstype="hfs",mountpoint="/"} 2.38862102528e+11

@juliusv
Copy link
Member

juliusv commented Jul 5, 2016

👍

@grobie
Copy link
Member

grobie commented Jul 5, 2016

👍 after fixing the error.

@SuperQ
Copy link
Member

SuperQ commented Jul 6, 2016

Nice

@discordianfish discordianfish merged commit 6350ef6 into master Jul 6, 2016
@discordianfish discordianfish deleted the fish/darwin-filesystem-stats branch July 6, 2016 08:46
@SuperQ SuperQ mentioned this pull request Nov 6, 2016
tamcore pushed a commit to gitgrave/node_exporter that referenced this pull request Oct 22, 2024
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.

4 participants