Module: kamailio Branch: 6.0 Commit: 5fd4b275f0948621771ad05503fc9225f9e2243a URL: https://github.com/kamailio/kamailio/commit/5fd4b275f0948621771ad05503fc9225f9e2243a
Author: Ovidiu Sas <[email protected]> Committer: Ovidiu Sas <[email protected]> Date: 2025-12-30T15:02:21-05:00 xhttp_prom: fix attributes for pkgmem_total_size (cherry picked from commit cbffe7b868e8b450293c2977b3ef1df61d6bf1bc) --- Modified: src/modules/xhttp_prom/prom.c --- Diff: https://github.com/kamailio/kamailio/commit/5fd4b275f0948621771ad05503fc9225f9e2243a.diff Patch: https://github.com/kamailio/kamailio/commit/5fd4b275f0948621771ad05503fc9225f9e2243a.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!
