[MERGED] osmo-gsm-manuals[master]: rate_ctr: clarify ctrl interface

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Nov 28 18:31:33 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: rate_ctr: clarify ctrl interface
......................................................................


rate_ctr: clarify ctrl interface

Clarify introspection over ctrl interface and request for individual
rate counter.

Change-Id: I3d258aaafc381644be2f16b51e4dc655c1fb9b26
---
M common/chapters/control_if.adoc
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/common/chapters/control_if.adoc b/common/chapters/control_if.adoc
index 5e72fe4..c4d38d7 100644
--- a/common/chapters/control_if.adoc
+++ b/common/chapters/control_if.adoc
@@ -147,7 +147,8 @@
 |===
 |Name|Access|Value|Comment
 |counter.*|RO||Get counter value.
-|rate_ctr.*|RO||Get rate counter value.
+|rate_ctr.*|RO||Get list of rate counter groups.
+|rate_ctr.IN.GN.GI.name|RO||Get value for interval IN of rate counter name which belong to group named GN with index GI.
 |===
 
 Those read-only variables allow to get value of arbitrary
@@ -162,6 +163,8 @@
 In the example above, "+bsc+" is the rate counter group name and "+0+" is its index. It is possible to
 obtain all the rate counters in a given group by requesting "+rate_ctr.per_sec.bsc.*+" variable.
 
+The list of available groups can be obtained by requesting "+rate_ctr.*+" variable.
+
 The rate counter group name have to be prefixed with interval
 specification which can be any of "*per_sec*", "*per_min*", "*per_hour*", "*per_day*"
 or "*abs*" for absolute value.

-- 
To view, visit https://gerrit.osmocom.org/5076
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3d258aaafc381644be2f16b51e4dc655c1fb9b26
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list