Hello, you can e.g. use a timer route to periodically reset this. Or just filter for a special custom SIP request method that you send to your server.
Cheers, Henning -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com<https://gilawa.com/> From: sr-users <[email protected]> On Behalf Of Marat Gareev Sent: Wednesday, July 15, 2020 11:07 AM To: Kamailio (SER) - Users Mailing List <[email protected]> Subject: [SR-Users] Reset Prometheus counter once Hello. Are there any ways to reset the Prometheus counter once? I can do something like this, but counter will be reset on each request loadmodule "xhttp_prom.so" modparam("xhttp_prom", "prom_counter", "name=mycounter;") route { prom_counter_reset("mycounter"); } Otherwise, I will not receive the counter until a special and rare event occurs. Regards, Marat
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
