Bug 980245 - Calculated.DiskSpaceUsedPercentage metric in Cassandra plugin reports incorrect value
Summary: Calculated.DiskSpaceUsedPercentage metric in Cassandra plugin reports incorre...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: RHQ 4.9
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-07-01 20:34 UTC by John Sanda
Modified: 2014-03-25 20:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-25 20:55:37 UTC
Embargoed:


Attachments (Terms of Use)

Description John Sanda 2013-07-01 20:34:30 UTC
Description of problem:
The Calculated.DiskSpaceUsedPercentage metric in StorageServiceComponent is calculated incorrectly. It is reporting the percentage of the entire file system used whereas it should be reporting the percentage of the file system used by Cassandra's data directories.

The description for Calculated.DiskSpaceUsedPercentage says that it also takes into account the installation path. The metric does not actually do this, nor do I think it should.

StorageServiceComponent does not need to calculate the disk space used by the data directories. We can obtain that value from the Load metric reported by StorageServiceMBean. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Stefan Negrea 2013-07-10 19:09:30 UTC
Updated the way this percentage is calculated. It is now based on the overall disk space available for the data file locations rather than just the one with the max utilization. Also, added a new metric for the total space used by Cassandra files.


Note You need to log in before you can comment on or make changes to this bug.