When entering a definition to alert on a particular quantity, I can't always recall the units from the plugin definition. For example, I may have chosen 'seconds' or 'milliseconds' for a particular metric. But to correctly choose a value, I need to know when entering '5' for example, RHQ will understand it as '5' seconds or 5 milliseconds. Why not display the units, either as-is or in a drop-down or parseable value. E.g. for a time value, allow the choice of milliseconds, seconds, days, etc. either by entering '5s' or selecting 'seconds.'?
I totally agree. As the input form already has the units available for validation purposes, this should be an easy fix.
branch: master link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=78eb557ae time: 2013-07-19 16:17:53 +0200 commit: 78eb557ae8f799b628769d76ccece61b6cb452a4 author: Jirka Kremser - jkremser message: [BZ 959587] - Alert definition should display units when entering a value; e.g. 'seconds' or 'megabytes' - Adding "BaseUnits" field to the popup form. The tooltip displays all allowed units from the same MeasurementUnits.Family.
Version: 4.9.0-SNAPSHOT Build Number: e3e001b GWT Version: 2.5.0 SmartGWT Version: 3.0 fix verified. It's designed as per user expectation. For duration allowed units: j,ns,us,ms,s,m,h,d (default: s) For size allowed units: B,KB,MB,TB,PB (default: B)
Bulk closing of RHQ 4.9 verified items