<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>+1 for this feature request. <br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> S�bastien Rainville &lt;sebastien@hopper.travel&gt;<br><b><span style="font-weight: bold;">To:</span></b> rabbitmq-discuss@lists.rabbitmq.com<br><b><span style="font-weight: bold;">Sent:</span></b> Fri, June 3, 2011 8:59:51 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [rabbitmq-discuss] message rates moving averages<br></font><br>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?<div><br></div><div><br><br>
<div class="gmail_quote">On Fri, Jun 3, 2011 at 8:17 AM, Simon MacMullen <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:simon@rabbitmq.com" target="_blank" href="mailto:simon@rabbitmq.com">simon@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 03/06/11 12:34, S�bastien Rainville wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is there a constant somewhere that I could change directly in the code<br>
so that it's always an average over, say 1 minute, instead of the<br>
default 5 seconds? I browsed the source code of the management plugin<br>
but couldn't isolate it. I don't know Erlang so it makes things a bit<br>
more complicated :P Then, ideally I'd like to make that thing<br>
configurable in the config file. Is it easy to do? If not, then I'm ok<br>
with simply changing the value directly in the code.<br>
</blockquote>
<br></div>
It's actually in the broker rather than the management plugin. Change the line defining STATS_INTERVAL in rabbitmq-server/include/rabbit.hrl.<br>
<br>
Hmm, maybe we should make this configurable...<div><div></div><div class="h5"><br>
<br>
Cheers, Simon<br>
-- <br>
Simon MacMullen<br>
Staff Engineer, RabbitMQ<br>
SpringSource, a division of VMware<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a rel="nofollow" ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a rel="nofollow" target="_blank" href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br></div>
</div></div>



</div></body></html>