diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2021-08-19 19:04:14 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2021-08-30 18:21:50 +0200 |
commit | a268523e3d11384e0aa5d76b6f4067aad73d3aee (patch) | |
tree | 66a02c38f41ad7324383658fc73609d33580ad43 /include/osmocom | |
parent | a5d3c9d0f2a572094d758fe375c87964af2ab51a (diff) |
add stat items bsc.0.num_msc:connected, .num_msc:total
We already have MSC connection stat items, but for hysterical raisins
there are separate such stats for each MSC. Hence we have N connection
counters, each being either 0 or 1, for a single MSC.
Add a new stat counting the *overall* MSCs that are connected,
and one indicating the total number of configured MSCs.
Related: SYS#5542
Related: I178dcf4516606aa561d47b06061b8a416d3c40cf (osmo-ttcn3-hacks)
Change-Id: If76bbf9b3adb64c68d5c31c6b526fa71a99996ae
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/bsc_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/bsc/bsc_stats.h b/include/osmocom/bsc/bsc_stats.h index 8fcd5a09e..639f87fd8 100644 --- a/include/osmocom/bsc/bsc_stats.h +++ b/include/osmocom/bsc/bsc_stats.h @@ -88,6 +88,8 @@ extern const struct rate_ctr_group_desc bsc_ctrg_desc; /* OsmoBSC stat_item indexes */ enum { BSC_STAT_NUM_BTS_TOTAL, + BSC_STAT_NUM_MSC_CONNECTED, + BSC_STAT_NUM_MSC_TOTAL, }; /* BTS counter index if a BTS could not be found |