Module: kamailio
Branch: master
Commit: cbffe7b868e8b450293c2977b3ef1df61d6bf1bc
URL: 
https://github.com/kamailio/kamailio/commit/cbffe7b868e8b450293c2977b3ef1df61d6bf1bc

Author: Ovidiu Sas <[email protected]>
Committer: Ovidiu Sas <[email protected]>
Date: 2025-12-30T01:22:00-05:00

xhttp_prom: fix attributes for pkgmem_total_size

---

Modified: src/modules/xhttp_prom/prom.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/cbffe7b868e8b450293c2977b3ef1df61d6bf1bc.diff
Patch: 
https://github.com/kamailio/kamailio/commit/cbffe7b868e8b450293c2977b3ef1df61d6bf1bc.patch

---

diff --git a/src/modules/xhttp_prom/prom.c b/src/modules/xhttp_prom/prom.c
index 20bf6ffe428..da4f5e1cd11 100644
--- a/src/modules/xhttp_prom/prom.c
+++ b/src/modules/xhttp_prom/prom.c
@@ -301,7 +301,7 @@ static int prom_metric_pkgmem_print(prom_ctx_t *ctx)
                        goto error;
                }
                if(prom_body_printf(ctx,
-                                  "%.*spkgmem_total_size{pid=\"%u\", 
rank=\"%d\" "
+                                  "%.*spkgmem_total_size{pid=\"%u\", 
rank=\"%d\", "
                                   "desc=\"%s\"%s} %lu %" PRIu64 "\n",
                                   xhttp_prom_beginning.len, 
xhttp_prom_beginning.s,
                                   pkg_proc_stats[i].pid, 
pkg_proc_stats[i].rank, pt[i].desc,

_______________________________________________
Kamailio - Development Mailing List -- [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