[ 
https://issues.apache.org/jira/browse/AMQ-7159?focusedWorklogId=209090&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-209090
 ]

ASF GitHub Bot logged work on AMQ-7159:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Mar/19 19:32
            Start Date: 06/Mar/19 19:32
    Worklog Time Spent: 10m 
      Work Description: alanprot commented on pull request #349: AMQ-7159 - 
Adding a new attribute on PersistenceAdapterViewMBean to s…
URL: https://github.com/apache/activemq/pull/349#discussion_r263099683
 
 

 ##########
 File path: 
activemq-broker/src/main/java/org/apache/activemq/store/PersistenceAdapterStatistics.java
 ##########
 @@ -0,0 +1,32 @@
+package org.apache.activemq.store;
+
+import org.apache.activemq.management.TimeStatisticImpl;
+
+public class PersistenceAdapterStatistics {
 
 Review comment:
   Done! :)
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 209090)
    Time Spent: 1h  (was: 50m)

> Adding a new attribute on PersistenceAdapterViewMBean to show information 
> about Storage write/read latency
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-7159
>                 URL: https://issues.apache.org/jira/browse/AMQ-7159
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: KahaDB
>            Reporter: Alan Protasio
>            Assignee: Christopher L. Shannon
>            Priority: Minor
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Hi all,
> I was trying to find a way to monitor the real storage write latency observed 
> by ActiveMq and I could not find.
> The only thing that I found was a log line:
> [https://github.com/apache/activemq/blob/master/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java#L1142]
>  
> I think would be really useful to have this information on the 
> PersistenceAdapterViewMBean.
>  
> The change proposed create a new attribute on this bean called "Statistics" - 
> that contains write and read times statistics - and a operation to reset it.
>  
> OBS: This information can be extended to all other persistence adapters.
>  
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to