Module: kamailio
Branch: master
Commit: 7e1f521f2086b50b3ad73bc19ea98deb18686e82
URL:
https://github.com/kamailio/kamailio/commit/7e1f521f2086b50b3ad73bc19ea98de…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-02-12T08:17:50+01:00
influxdbc: docs for a couple of existing functions
---
Modified: src/modules/influxdbc/doc/influxdbc_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/7e1f521f2086b50b3ad73bc19ea98de…
Patch:
https://github.com/kamailio/kamailio/commit/7e1f521f2086b50b3ad73bc19ea98de…
---
diff --git a/src/modules/influxdbc/doc/influxdbc_admin.xml
b/src/modules/influxdbc/doc/influxdbc_admin.xml
index a02af97e048..e6560bc0d69 100644
--- a/src/modules/influxdbc/doc/influxdbc_admin.xml
+++ b/src/modules/influxdbc/doc/influxdbc_admin.xml
@@ -156,6 +156,75 @@ request_route {
...
}
...
+</programlisting>
+ </example>
+ </section>
+ <section id="influxdb.f.influxdbc_sub">
+ <title>
+ <function moreinfo="none">influxdbc_sub(name)</function>
+ </title>
+ <para>
+ Start a measure subgroup with the given name.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>influxdbc_sub()</function> usage</title>
+ <programlisting format="linespecific">
+...
+request_route {
+ ...
+ influxdbc_sub("grp1");
+ ...
+}
+...
+</programlisting>
+ </example>
+ </section>
+ <section id="influxdb.f.influxdbc_subend">
+ <title>
+ <function moreinfo="none">influxdbc_subend()</function>
+ </title>
+ <para>
+ End the current measure subgroup.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>influxdbc_subend()</function> usage</title>
+ <programlisting format="linespecific">
+...
+request_route {
+ ...
+ influxdbc_subend();
+ ...
+}
+...
+</programlisting>
+ </example>
+ </section>
+ <section id="influxdb.f.influxdbc_push">
+ <title>
+ <function moreinfo="none">influxdbc_push()</function>
+ </title>
+ <para>
+ Push accumulated values to the server.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>influxdbc_push()</function> usage</title>
+ <programlisting format="linespecific">
+...
+request_route {
+ ...
+ influxdbc_push();
+ ...
+}
+...
</programlisting>
</example>
</section>