Bug 872382 (PRODMGT-248)

Summary: Not possible to filter events by date and time range
Product: [JBoss] JBoss Operations Network Reporter: Charles Crouch <ccrouch>
Component: Monitoring - EventsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED EOL QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.1.1CC: fbrychta, hbrock, hrupp, jshaughn, loleary, mithomps
Target Milestone: ---   
Target Release: JON 4.0.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 856695 Environment:
Last Closed: 2019-07-29 14:51:43 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 856695    
Bug Blocks:    

Description Charles Crouch 2012-11-02 00:06:41 UTC
+++ This bug was initially created as a clone of Bug #856695 +++

Description of problem:

There is no way to filter the even display down to a specific time range)

Pre GWT this was possible via the global metric range settings.

I don't think that re-introducing the global metric range setting is right here, 
but it should be possible to filter like on the Recent Operations/Recent Alerts reports with a start or end date. If none are given, the default (as is) should be taken.

--- Additional comment from hrupp on 2012-09-13 05:22:32 EDT ---

Initial implementation is in master 82877c7c61a21cc22

The picker could probably be improved to allow to select the time as well.

The new class DateTimeFilterItem probably needs some love too.

Also the whole events history tab could be passed by some UXD expert.

--- Additional comment from mithomps on 2012-09-17 11:27:13 EDT ---



The UI could be cleaned up as the default time widget created by smartGWT is very simplistic. Heiko had found a better looking widget:
http://sgwidgets.googlecode.com/svn/trunk/sgwidgets-demo/1.0.0/index.html

However, it is not i18n compatible. So while it would be easy to add this widget; making it i18n for the various timezone formats (and Daylight Savings Time issues) and languages is quite a daunting task.

To summarize: making it look pretty is easy, make it work internationally is very difficult.

Comment 1 Charles Crouch 2012-11-02 00:07:47 UTC
Created this bug to make sure we have a downstream issue corresponding to https://issues.jboss.org/browse/PRODMGT-248 targeting JON4.0

Comment 3 Jay Shaughnessy 2014-08-25 20:22:53 UTC
This worked perfectly for me.  I don't find the time portion tricky at all. Click on the date you care about, update the time as needed. Worked.  I think this is fine, setting ON_QA.

Comment 6 Mike Thompson 2014-08-25 21:59:04 UTC
The technical issues behind this are a decent looking time widget that can support i18n and the various time zones/display formats. This is further limited by Isomorphic recommendation that regular GWT components not be used with smartGWT.

Comment 7 Mike Thompson 2014-08-26 02:54:33 UTC
Relative time ranges would not be that difficult to add though like: 10m, 30m, 1h, 4h, 1d

Comment 8 Jay Shaughnessy 2014-08-26 15:48:42 UTC
Given that it's doable today with the current widget, this won't make 3.3.0,  Pushing to post-ga.

Comment 11 Filip Brychta 2019-07-29 14:51:43 UTC
JBoss ON is coming to the end of its product life cycle. For more information regarding this transition, see https://access.redhat.com/articles/3827121.
This bug report/request is being closed. If you feel this issue should not be closed or requires further review, please create a new bug report against the latest supported JBoss ON 3.3 version.