Introduce stats msc.ran_peers.{total,active}

osmo_stats_init() was already being called despite no stats were being
used.

Change-Id: Ib01576036f34ac7f21c5bce0155b50932eb9b72a
This commit is contained in:
Pau Espin Pedrol
2025-07-14 19:40:51 +02:00
parent 576b13fb19
commit 1416f6497f
4 changed files with 55 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ enum smlc_ctrl_node {
_LAST_CTRL_NODE_SMLC
};
/* rate_ctr */
enum {
SMLC_CTR_BSSMAP_LE_RX_UDT_RESET,
SMLC_CTR_BSSMAP_LE_RX_UDT_RESET_ACK,
@@ -58,3 +59,9 @@ enum {
SMLC_CTR_BSSMAP_LE_TX_DT1_PERFORM_LOCATION_RESPONSE,
SMLC_CTR_BSSMAP_LE_TX_DT1_BSSLAP_TA_REQUEST,
};
/* osmo_stat */
enum {
SMLC_STAT_LB_PEERS_TOTAL,
SMLC_STAT_LB_PEERS_ACTIVE,
};