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.

вт, 28 июн. 2022 г. в 13:55, Răzvan Crainea <raz...@opensips.org>:

> Hi, Pavel!
>
> No, there is currently no way to set a lifetime, it will live forever.
> Please open a feature request[1] if you find this feature useful.
>
> [1] https://github.com/OpenSIPS/opensips/issues
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/28/22 11:03, Pavel Eremin wrote:
> > Hi, all, does anyone work with |stat_series_profile, it seems very
> useful.|
> >
> > My question is if some value was created by update_stat_series, then
> > this stat variable will lives forever, even it 0.
> >
> > Is it possible to set the lifetime for series?
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to