<div dir="ltr">Yes, probably what I need is to correctly set those two parameters:<div><span style="font-family:arial,sans-serif;font-size:13px">�- sample_retention_policies</span></div><div><font face="arial, sans-serif">�-�</font><span style="font-family:arial,sans-serif;font-size:13px">collect_statistics_interval</span></div>

<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Are they strictly related or they serve different purposes?</font></div><div><font face="arial, sans-serif">How do I ask for global/basic/detailed cumulative stats (like those collected by�</font><span style="font-family:arial,sans-serif;font-size:13px">sample_retention_policies)?</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px">I think that I need those metrics..</span></div><div><font face="arial, sans-serif">With a small�</font><span style="font-family:arial,sans-serif;font-size:13px">collect_statistics_interval (1 s) I have more precise data but more overhead on the broker,</span></div>

<div><span style="font-family:arial,sans-serif"></span><font face="arial, sans-serif">but changing this parameters require also to change�</font><span style="font-family:arial,sans-serif;font-size:13px">sample_retention_policies right?</span></div>

<div><font face="arial, sans-serif">Or it just run every 5 s and thus collects 5 samples (for default global conf for example)..?<br></font><div class="gmail_extra"><br>Best,</div><div class="gmail_extra">Flavio</div><div class="gmail_extra">

<br><div class="gmail_quote">On Thu, Jul 25, 2013 at 11:28 AM, Simon MacMullen <span dir="ltr">&lt;<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div class="im">On 24/07/2013 6:17PM, Flavio Pompermaier wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
have you ever tried to set statistics interval to something like a week?<br>
</blockquote>
<br></div>
I assume you mean sample_retention_policies (i.e. how long we hold stats for) rather than collect_statistics_interval (i.e. how frequently the broker should emit stats for the management plugin to collect).<br>
<br>
No I haven&#39;t, although you should be fine as long as you reduce the resolution for data that&#39;s held for longer. Or put up with increased memory use.<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Does it affect performance?<br>
</blockquote>
<br>
Shouldn&#39;t do particularly.<br>
<br>
Cheers, Simon</blockquote></div><div dir="ltr"><p></p><p></p><p></p><p></p></div>
</div></div></div>