[sr-dev] git:5.3:9a381b67: xhttp_prom: fix small copy/paste typo in documentation

Ovidiu Sas osas at voipembedded.com
Tue May 18 21:06:05 CEST 2021


Module: kamailio
Branch: 5.3
Commit: 9a381b67709d051c3451c7822443540a4e8ef45f
URL: https://github.com/kamailio/kamailio/commit/9a381b67709d051c3451c7822443540a4e8ef45f

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: 2021-05-18T15:04:42-04:00

xhttp_prom: fix small copy/paste typo in documentation

(cherry picked from commit 2967a41f5537df81745a71226ba9e793ccbdd453)

---

Modified: src/modules/xhttp_prom/doc/xhttp_prom_admin.xml

---

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

---

diff --git a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
index c098f2d382..278d51aac2 100644
--- a/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
+++ b/src/modules/xhttp_prom/doc/xhttp_prom_admin.xml
@@ -448,7 +448,7 @@ prom_gauge_set("gg01", "-12.5");
 ...
 
 # Definition of gg02 gauge with two labels method and IP
-modparam("xhttp_prom", "prom_gauge", "name=cnt02; label=method:IP;");
+modparam("xhttp_prom", "prom_gauge", "name=gg02; label=method:IP;");
 ...
 # Assign 2.8 to value of gg02 gauge with labels method and IP. It creates the gauge if it does not exist.
 prom_gauge_set("gg02", "2.8", "push", "192.168.0.1");




More information about the sr-dev mailing list