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