<div dir="ltr">Thanks! Yes I suppose it's useful in case of recognizing which IP or user is most active. For example if i have opened server to whole word, then i can do this by collecting avg_1m stats and make then live for 2mins, so, when i ask stat by prometheus server, opensips will send limited data. In current case opensips will send as much statistics as collected. Of course after some time shared memory are end. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 28 июн. 2022 г. в 13:55, Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Pavel!<br>
<br>
No, there is currently no way to set a lifetime, it will live forever.<br>
Please open a feature request[1] if you find this feature useful.<br>
<br>
[1] <a href="https://github.com/OpenSIPS/opensips/issues" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/issues</a><br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 6/28/22 11:03, Pavel Eremin wrote:<br>
> Hi, all, does anyone work with |stat_series_profile, it seems very useful.|<br>
> <br>
> My question is if some value was created by update_stat_series, then <br>
> this stat variable will lives forever, even it 0.<br>
> <br>
> Is it possible to set the lifetime for series?<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>