[rabbitmq-discuss] message rates moving averages

Simon MacMullen simon at rabbitmq.com
Fri Jun 3 13:17:16 BST 2011


On 03/06/11 12:34, Sébastien Rainville wrote:
> Is there a constant somewhere that I could change directly in the code
> so that it's always an average over, say 1 minute, instead of the
> default 5 seconds? I browsed the source code of the management plugin
> but couldn't isolate it. I don't know Erlang so it makes things a bit
> more complicated :P Then, ideally I'd like to make that thing
> configurable in the config file. Is it easy to do? If not, then I'm ok
> with simply changing the value directly in the code.

It's actually in the broker rather than the management plugin. Change 
the line defining STATS_INTERVAL in rabbitmq-server/include/rabbit.hrl.

Hmm, maybe we should make this configurable...

Cheers, Simon
-- 
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware



More information about the rabbitmq-discuss mailing list