You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/10/29 17:04:30 UTC

[jira] [Commented] (AMQ-4831) Average message size attribute on broker mbean should not have decimals

    [ https://issues.apache.org/jira/browse/AMQ-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808125#comment-13808125 ] 

Claus Ibsen commented on AMQ-4831:
----------------------------------

In fact there are many other stats that uses double which has ugly rounding. 

This is not so easy to change as a double type can't be limited to a precise number of decimals.
Maybe we would need to fix it on the console part, but then jconsole users is left with ugly data, such as shown on the screenshot.


> Average message size attribute on broker mbean should not have decimals
> -----------------------------------------------------------------------
>
>                 Key: AMQ-4831
>                 URL: https://issues.apache.org/jira/browse/AMQ-4831
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker, JMX
>    Affects Versions: 5.9.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 5.10.0
>
>         Attachments: avg-size.png
>
>
> This doesn't look very nice when looking from a jmx console such as hawtio.
> See screenshot, and notice the many decimals the average message size attribute has.



--
This message was sent by Atlassian JIRA
(v6.1#6144)