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_prom.p.xhttp_prom_stats

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

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to