[rabbitmq-discuss] message rates moving averages
Sébastien Rainville
sebastien at hopper.travel
Fri Jun 3 13:59:51 BST 2011
Thanks! I'll change it in the code directly for now, but yes simply making
it configurable would be great. Since it seems fairly simple, any chance
that thing can go up in the priority queue?
On Fri, Jun 3, 2011 at 8:17 AM, Simon MacMullen <simon at rabbitmq.com> wrote:
> 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
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110603/25572255/attachment.htm>
More information about the rabbitmq-discuss
mailing list