[
https://issues.apache.org/jira/browse/AMQ-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264825#comment-14264825
]
Hadrian Zbarcea commented on AMQ-5505:
--------------------------------------
GitHub user PaulGale opened a pull request:
https://github.com/apache/activemq/pull/56
Add getUptimeMillis() to the BrokerView MBean
I need to be able to get the up-time of the broker in milliseconds, rather
than as a formatted string.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/PaulGale/activemq trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/56.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #56
----
commit cd98766cab8c701caae0c4f1cbb9988f77ac660c
Author: PaulGale <[email protected]>
Date: 2015-01-05T17:34:00Z
Add getUptimeMillis to the BrokerView MBean
----
> Add support for the BrokerView MBean to get the up-time in milliseconds
> -----------------------------------------------------------------------
>
> Key: AMQ-5505
> URL: https://issues.apache.org/jira/browse/AMQ-5505
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Broker, JMX
> Affects Versions: 5.10.0
> Reporter: Paul Gale
> Assignee: Hadrian Zbarcea
> Labels: patch
> Fix For: 5.11.0
>
>
> Currently one can only get the broker's up-time as a formatted string via
> JMX.
> I need to be able to get the up-time in milliseconds as we're using DataDog
> as our monitoring tool (which doesn't understand the current up-time
> formatted string).
> The up-time formatted string will remain as-is.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)