Bug 919248 - RFE: Provide a metric of the time elapsed since the last build.
Summary: RFE: Provide a metric of the time elapsed since the last build.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.7
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-07 22:26 UTC by Jérémie
Modified: 2013-09-03 14:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-03 14:44:22 UTC
Embargoed:


Attachments (Terms of Use)
Elapsed time metrics (7.10 KB, patch)
2013-03-07 22:26 UTC, Jérémie
no flags Details | Diff

Description Jérémie 2013-03-07 22:26:57 UTC
Created attachment 706814 [details]
Elapsed time metrics

Description of problem:
I want to create an alert if a hudson job has not been built for more than two days. .
It seems to me that isn't possible  on trait of type date like lastBuildTime or lastSuccessfulBuildTime

What do you think of adding two metrics on the hudson plugin giving the time elapsed since the last build, and since the last successful build. lastSuccessfulBuildElapsedTime and lastBuildElapsedTime.

Attached is a patch that seems appropriate for my use case.

Comment 1 Thomas Segismont 2013-03-18 12:14:51 UTC
Patch verified, formatted and tested.

Comment 2 Thomas Segismont 2013-03-18 12:15:40 UTC
Merged in master 14f3262

Comment 3 Heiko W. Rupp 2013-09-03 14:44:22 UTC
Bulk closing of issues in old RHQ releases that are in production for a while now.

Please open a new issue when running into an issue.


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