ozone
ozone copied to clipboard
HDDS-7120. Fix Prometheus reporting only 1 VolumeIOStat
What changes were proposed in this pull request?
Prometheus can't distinguish between different volumes when getting data about VolumeIOStats. It's due to a MetricTag missing that would separate the volumes. Adding an additional tag fixes this issue.
What is the link to the Apache JIRA
How was this patch tested?
Added unit test for multiple VolumeIOStats. Also deployed locally via a local docker container, different VolumeIOStats did show up.