Bug 959587 - Alert definition should display units when entering a value; e.g. 'seconds' or 'megabytes'
Summary: Alert definition should display units when entering a value; e.g. 'seconds' o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.9
Assignee: Jirka Kremser
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-03 21:20 UTC by Elias Ross
Modified: 2013-09-24 19:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-24 19:08:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Elias Ross 2013-05-03 21:20:12 UTC
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.'?

Comment 1 Heiko W. Rupp 2013-06-29 15:11:17 UTC
I totally agree.
As the input form already has the units available for validation purposes, this should be an easy fix.

Comment 2 Jirka Kremser 2013-07-19 14:19:19 UTC
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.

Comment 3 Jeeva Kandasamy 2013-08-29 14:31:10 UTC
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)

Comment 4 Heiko W. Rupp 2013-09-24 19:08:36 UTC
Bulk closing of RHQ 4.9 verified items


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