Module: kamailio
Branch: master
Commit: a55967c0e8cee184f1cc8cc0c5df4635041b88d1
URL:
https://github.com/kamailio/kamailio/commit/a55967c0e8cee184f1cc8cc0c5df463…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: 2024-04-04T10:10:15-04:00
xhttp_prom: update documentation
---
Modified: src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/a55967c0e8cee184f1cc8cc0c5df463…
Patch:
https://github.com/kamailio/kamailio/commit/a55967c0e8cee184f1cc8cc0c5df463…
---
diff --git a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
index e1f2709dd21..83cede92633 100644
--- a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
+++ b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
@@ -178,6 +178,29 @@ modparam("xhttp_prom", "xhttp_prom_stats",
"200_replies")
# Do not display internal &kamailio; statistics. This is the default option.
modparam("xhttp_prom", "xhttp_prom_stats", "")
+...
+ </programlisting>
+ </example>
+ </section>
+ <section id="xhttp_prom.p.xhttp_prom_pkg_stats">
+ <title><varname>xhttp_prom_pkg_stats</varname> (str)</title>
+ <para>
+ Enable or disable internal &kamailio; pkg memory statistics.
+ </para>
+ <para>
+ <emphasis>If not 0</emphasis>, pkg memory statistics will be displayed.
+ </para>
+ <para>
+ <emphasis>
+ Default value is 0 (no pkg memory statistics).
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>xhttp_prom_pkg_stats</varname>
parameter</title>
+ <programlisting format="linespecific">
+...
+# enable pkg stats
+modparam("xhttp_prom", "xhttp_prom_pkg_stats", 1)
...
</programlisting>
</example>