Bug 535971 (RHQ-370)
Summary: | support better formatting for metrics with epoch-millis units | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Jaroslaw Kijanowski <jkijanow> | ||||
Component: | Monitoring | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | CC: | asantos, ccrouch, cwelton, hrupp, jshaughn, mharvey | ||||
Target Milestone: | --- | Keywords: | FutureFeature, Improvement | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | http://jira.rhq-project.org/browse/RHQ-370 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-12 19:34:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jaroslaw Kijanowski
2008-04-24 10:49:00 UTC
I think the displayed value is correct, but the formatting of the epoch_millis a little confusing. What bothers me more is that this constant value (actually the start time stays constant as long as Hibernate / JBossAS is running) is a metric and no trait. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-370 Imported an attachment (id=368817) Mass move to component = Monitoring currently, we don't support formatting Traits because they are string values and don't have associated units. heiko, can you ballpark an estimate for how long it would take to enable supports units for traits (plugin descriptor [making sure it's forward compatible], parsing, db upgrade, metadata upgrade, units scaling, & ui display. Units are already in the plugin descriptor, parsed and stored in the DB. Getting the unit and formatting it would need a change in the query for traits to include the units from the definition and then if units!=0 to call the appropriate formatter like for numeric data. In addition the return type of some methods need to be changed (possibly to a composite). CLI probably also needs an update. I'd say: without CLI around 2 days. CLI at least one more day. |