libosmocore/src/ctrl
Neels Hofmeyr a16b50c5e8 CTRL: expose stat_item groups on CTRL
Expose all stat items as RO variables of the form

  stat_item.last.group_name.N.item_name
  stat_item.last.group_name.by_name.idx_name.item_name

For (possibly contrived) example:

  stat_item.last.trunk.0.endpoints:used
  stat_item.last.trunk.by_name.virtual-0.endpoints:used

Include the 'last' token to ease future extension, like 'max'.
Put this token in the beginning, similarly to rate_ctr variables, which
begin with 'per_sec', 'per_hour', ...

Related: SYS#5542
Related: I178dcf4516606aa561d47b06061b8a416d3c40cf (osmo-ttcn3-hacks)
Related: Ic1b35b7406547f92818afe399a2383d154576409 (osmo-ttcn3-hacks)
Change-Id: Idace66b37492fe96b2f2e133a69cac7960ca279c
2021-09-14 10:28:05 +02:00
..
Makefile.am Bump version: 1.4.0.535-e387-dirty → 1.5.0 2021-02-23 14:03:31 +01:00
control_cmd.c control_cmd: fix typo 2021-06-16 20:31:58 +00:00
control_if.c CTRL: expose stat_item groups on CTRL 2021-09-14 10:28:05 +02:00
control_vty.c vty: use install_lib_element() and install_lib_element_ve() 2020-10-06 00:22:22 +07:00
fsm_ctrl_commands.c ctrl/vty: fsm: use correct element when iterating over fsm->proc.children 2018-07-29 14:35:00 +00:00
libosmoctrl.map ctrl: Introduce ctrl_cmd_parse3 API 2018-07-16 17:56:25 +00:00