Gluster Exporter for Prometheus
fixes bug #11 Incorrect volume name or error with PR #13 Fix unmarshalling of volume status
adds features: #12 Feature/add quota metrics #9  add metrics used in promethues
includes pr#8 adds new Metrics:
mount_successful: Checks if mountpoints of volumes occur in 'mount' at system volume_writeable: Issues Create and Remove file on mounted volume heal_info_files_count: adds all files out of sync together. If this is > 0 your gluster is probably out of sync
Problem is, currently if gluster doesn't reach peers it runs into timeouts and that can take up to a minute. So be aware of it.
Added new metrics exposed by command gluster volume status all details
:
gluster_node_size_free_bytes gluster_node_size_total_bytes
adds FOP Metrics
now builds with promu
and gluster_exporter -version
shows correct information
Changes:
Changed a lot.
First version of gluster_exporter. ATM it only runs "gluster volume info --xml" as a command and parses the xml output.
There is still a lot to do. Please open an issue for errors and improvements.