diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2020-05-07 01:39:21 +0300 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2020-05-07 01:39:21 +0300 |
commit | d8835234c5436c0ce781ddbc02b1094fd6dfc4a3 (patch) | |
tree | d46acada44b4d3e551a9acb0e201854e06f5a8a8 /include | |
parent | ef803ac96d779b7e9fcf95a32325d528554e41e8 (diff) |
stats: Add a stats gauge for the MSC link status.
Change-Id: Ibe4b29056ba704a27b925cfdba49f343ee34f428
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 11a4b5fc2..e85796cdf 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1554,6 +1554,10 @@ static const struct rate_ctr_group_desc bsc_ctrg_desc = { bsc_ctr_description, }; +enum { + BSC_STAT_MSC_LINK, +}; + struct gsm_tz { int override; /* if 0, use system's time zone instead. */ int hr; /* hour */ @@ -1581,6 +1585,7 @@ struct gsm_network { } hodec2; struct rate_ctr_group *bsc_ctrs; + struct osmo_stat_item_group *bsc_statg; unsigned int num_bts; struct llist_head bts_list; |