Re: [SR-Users] Deletion of Prometheus metrics

2020-08-07 Thread Vicente Hernando
Hello Marat, soon I will upload a new version of xhttp_prom module. I will set a disabling timeout mechanism there. In the meanwhile you could set the timeout for 1 year, or 10 years, a value probably large enough. Regards, Vicente. On 8/7/20 8:36 AM, Marat Gareev wrote: Hello Vicente,

Re: [SR-Users] Deletion of Prometheus metrics

2020-08-07 Thread Marat Gareev
Hello Vicente, Unfortunately, increasing the timeout does not solve the problem. I can set the parameter to 30 days, but the metric can be triggered after 30 days and 1 minute, for example. Disabling the parameter would be a good solution. I'll think about it too. Regards, Marat

Re: [SR-Users] Deletion of Prometheus metrics

2020-08-06 Thread Vicente Hernando
Hello Marat, answer inside text: On 8/6/20 1:17 PM, Marat Gareev wrote: Hello, I have confuse about this timeout: https://www.kamailio.org/docs/modules/devel/modules/xhttp_prom.html#xhttp_prom.p.xhttp_prom_timeout Is there reason for forced deletion of unused metrics? Only reason is to

Re: [SR-Users] Deletion of Prometheus metrics

2020-08-06 Thread Vicente Hernando
Hello Marat, answer inside text: On 8/6/20 1:17 PM, Marat Gareev wrote: Hello, I have confuse about this timeout: https://www.kamailio.org/docs/modules/devel/modules/xhttp_prom.html#xhttp_prom.p.xhttp_prom_timeout Is there reason for forced deletion of unused metrics? Only reason is to

[SR-Users] Deletion of Prometheus metrics

2020-08-06 Thread Marat Gareev
Hello, I have confuse about this timeout: https://www.kamailio.org/docs/modules/devel/modules/xhttp_prom.html#xhttp_prom.p.xhttp_prom_timeout Is there reason for forced deletion of unused metrics? Let's imagine a situation: Zabbix reads metrics at a certain interval, unused metrics are deleted