Re: Broker-J statistics and CPU consumption

2019-11-17 Thread Rob Godfrey
ic, as it's likely that the Dispatch developers will skip this thread due to its title :-) -- Rob > > Olivier > > -Original Message- > From: Rob Godfrey > Sent: dimanche 17 novembre 2019 13:36 > To: users@qpid.apache.org > Subject: Re: Broker-J statistics and CPU consu

RE: Broker-J statistics and CPU consumption

2019-11-17 Thread VERMEULEN Olivier
Thanks Rob. This will help us a lot in monitoring the brokers. By the way, any chance we can get something similar on the dispatch-router side? Olivier -Original Message- From: Rob Godfrey Sent: dimanche 17 novembre 2019 13:36 To: users@qpid.apache.org Subject: Re: Broker-J statistics

Re: Broker-J statistics and CPU consumption

2019-11-17 Thread Rob Godfrey
I've created the JIRA QPID-8376 and made a change there which adds two statistics - processCpuTime (which is the cumulative CPU time since the app started) and processCpuLoad (which is the current CPU load due to the process, rounded to 4 decimal

Re: Broker-J statistics and CPU consumption

2019-11-15 Thread Rob Godfrey
On Fri, 15 Nov 2019 at 21:21, Oleksandr Rudyy wrote: > Hi Olivier, > > CPU consumption statistic is not available. > Potentially, cpu average load from > java.lang.management.OperatingSystemMXBean#getSystemLoadAverage can be > returned as part of broker statistics. > If you need

Re: Broker-J statistics and CPU consumption

2019-11-15 Thread Rob Godfrey
Hi Olivier, no - there is nothing on CPU consumption. I don't believe there is any standard way to get the CPU consumption from a Java process. The closest I can find is that if the platform implementation of OperatingSystemMXBean implements com.sun.management.OperatingSystemMXBean then it will

Re: Broker-J statistics and CPU consumption

2019-11-15 Thread Oleksandr Rudyy
Hi Olivier, CPU consumption statistic is not available. Potentially, cpu average load from java.lang.management.OperatingSystemMXBean#getSystemLoadAverage can be returned as part of broker statistics. If you need OperatingSystemMXBean#getSystemLoadAverage() being exposed as broker statistic,

Broker-J statistics and CPU consumption

2019-11-15 Thread VERMEULEN Olivier
Hello, We're using the Broker-J 7.1.3. Looking at the statistics provided by /api/latest/broker/getStatistics, I don't see anything related to the CPU consumption. Did I miss something or this information is not provided? Thanks, Olivier *** This e-mail contains

Re: Broker-J statistics

2018-02-02 Thread Keith W
nt: jeudi 1 février 2018 19:56 > To: users@qpid.apache.org > Subject: Re: Broker-J statistics > > Hi Olivier > > AFAIR, I looked at the code at the UI console a couple of months ago and the > throughput per queues / exchange is calculated with a diff between total > messages

RE: Broker-J statistics

2018-02-02 Thread VERMEULEN Olivier
] Sent: jeudi 1 février 2018 19:56 To: users@qpid.apache.org Subject: Re: Broker-J statistics Hi Olivier AFAIR, I looked at the code at the UI console a couple of months ago and the throughput per queues / exchange is calculated with a diff between total messages every sec. This is done

Re: Broker-J statistics

2018-02-01 Thread Olivier Mallassi
Hi Olivier AFAIR, I looked at the code at the UI console a couple of months ago and the throughput per queues / exchange is calculated with a diff between total messages every sec. This is done in the Js I guess that should answer your need Olivier. On Thu 1 Feb 2018 at 11:34, Olivier

Broker-J statistics

2018-02-01 Thread Olivier VERMEULEN
Hello, We are currently implementing a messaging cluster with dispatch-routers and Java brokers. To be able to use it in production we are required to provide a few statistics. I see that I can use the broker ReST API to query some statistics on the queues, exchanges,... One of the statistics we