ofesseler / gluster_exporter

Gluster Exporter for Prometheus
Apache License 2.0
81 stars 57 forks source link

Fix unmarshalling of volume status #13

Closed coder-hugo closed 7 years ago

coder-hugo commented 7 years ago

This PR fixes an issue that occurs if you have multiple volumes configured in gluster. The current code adds the volume name of the last volume as label to all volume size metrics. The reason for this was a bug in the VolumeStatusXML.

ofesseler commented 7 years ago

@coder-hugo thanks for fixing this issue! fixes #11