<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">Well maybe then the question is why are you using rate_ctr and not stat_items here, it really confuses me.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">At least at first sight, I agree.  The resulting metric computed by this  new code base renders a single value which matches better a state_item than a rate_ctr. Any particular argument to go for rate_ctr, Neels?</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">But my understanding here is that allAvailableSDCCHAllocated fits with a stat_item, which is simply a counter value changing over time. So I'm not really following on why you need all this infrastructure sorry, this all looks super complicated for no reason (I'm able to see). Maybe someone else can also shed some light on it.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I guess the point is the definition of         allAvailableSDCCHAllocated in TS 52.402:</p><p style="white-space: pre-wrap; word-wrap: break-word;">"This measurement provides the accumulated time during the granularity period when all available SDCCHs are in use or otherwise unavailable to be allocated."</p><p style="white-space: pre-wrap; word-wrap: break-word;">So it is not an instantaneous value of how many SDCCH are currently allocated, but actually accumulated time, as (I presume) neels' patch implements.</p><p style="white-space: pre-wrap; word-wrap: break-word;">So the question remains: Should the result be exposed as rate_ctr or as stat_item?</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25973">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/25973">change 25973</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-bsc/+/25973"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Icdd36f27cb54b2e1b940c9e6404ba9dd3692a310 </div>
<div style="display:none"> Gerrit-Change-Number: 25973 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 31 Oct 2021 08:00:01 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>