My system was configured automatically and exposed following stats:
# HELP node_filesystem_size_bytes Filesystem size in bytes.
# TYPE node_filesystem_size_bytes gauge
node_filesystem_size_bytes{device="/dev/sdb1",fstype="ext4",mountpoint="/"} 9.8429872128e+11
node_filesystem_size_bytes{device="lxcfs",fstype="fuse.lxcfs",mountpoint="/var/lib/lxcfs"} 0
Now that I have added another disk, I would like to see also /dev/md0 reported there so that I can see available and total space in array?
I’m surprised it was not added automatically. I’ve tried dpkg-reconfigure. What’s the mechanism that controls this collector?
$ mount | grep md
/dev/md0 on /mnt/storage type ext4 (rw,relatime)
How can I add /dev/md0 to node_filesystem_size_bytes ?
I already see some other devices in other stats, like its momentary speed & performance:
# HELP node_disk_io_now The number of I/Os currently in progress.
# TYPE node_disk_io_now gauge
node_disk_io_now{device="md0"} 0
node_disk_io_now{device="sda"} 1
node_disk_io_now{device="sdb"} 0
node_disk_io_now{device="sdc"} 1
Just covering a few bases, did you mount the system prior starting node_exporter or afterwards? If the latter, have you tried restarting node_exporter?