Bug 919248
Summary: | RFE: Provide a metric of the time elapsed since the last build. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jérémie <jer> | ||||
Component: | Plugins | Assignee: | Thomas Segismont <tsegismo> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.6 | CC: | hrupp, tsegismo | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | RHQ 4.7 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-09-03 14:44:22 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Patch verified, formatted and tested. Merged in master 14f3262 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. |
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.