<p style="white-space: pre-wrap; word-wrap: break-word;">So I think both Neels and I have the feeling osmo_stat probably fits better than using the CTRL interface for this purpose, am I wrong? Other opinions welcome.</p><p style="white-space: pre-wrap; word-wrap: break-word;">From dexter: "This is needed for TTCN3 testing. Would osmo_stat work with that. Also this is not a rate counter, this is a fixed value at a certain point in time."</p><p style="white-space: pre-wrap; word-wrap: break-word;">That's what osmo_stat_item are for, to provide information of a fixed value at a certain point in time. That's what we use for instance to provide information about how many logical channels are in use, how many are available, etc. So same can be done here imho.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24822">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24822/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24822/1//COMMIT_MSG@11">Patch Set #1, Line 11:</a> <code style="font-family:monospace,monospace">operators to monitor the MGW usage and also simplifies TTCN3 tests</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Its more for testing with TTCN3, at least that is what I need it for. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">well, rate_ctr are for tate counters, and osmo_stats are for stats ;)</p><p style="white-space: pre-wrap; word-wrap: break-word;">Both are available through statsd and also can be checked by TTCN3, we already have APIs there and tests using it to validate the values.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24822">change 24822</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-mgw/+/24822"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ib8b5a6e733f521828647742085cad8eccb3e715b </div>
<div style="display:none"> Gerrit-Change-Number: 24822 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 07 Jul 2021 09:05:57 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>