ozone icon indicating copy to clipboard operation
ozone copied to clipboard

HDDS-7120. Fix Prometheus reporting only 1 VolumeIOStat

Open Galsza opened this issue 2 years ago • 0 comments

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

HDDS-7120

How was this patch tested?

Added unit test for multiple VolumeIOStats. Also deployed locally via a local docker container, different VolumeIOStats did show up.

Galsza avatar Aug 15 '22 08:08 Galsza