Hello, On 25.02.25 12:54, Alexis Fidalgo via sr-users wrote:
Hello all, i found that tm stats (kamcmd tm.stats) are not present in the response of xhttp_prom (prometheus), so in new configurations that we applied, we have no information/stats on reply codes. Is there a way to add this information to the xhttp_prom response?
thanks in advance. regards
the tm.stats is an RPC command build by the function executed behind. The statistic metrics exported by tm are part of the output from "kamctl stats". Anyhow, for tm stats, you need to set it in config: - https://www.kamailio.org/docs/modules/stable/modules/xhttp_prom.html#xhttp_p... Cheers, Daniel -- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com Kamailio Advanced Training, March 24-28, 2025 -- asipto.com Kamailio World Conference, May 12-13, 2025, Berlin -- kamailioworld.com