summaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorDaniel Willmann <dwillmann@sysmocom.de>2018-07-24 20:01:26 +0200
committerDaniel Willmann <dwillmann@sysmocom.de>2018-07-24 20:01:26 +0200
commitd910a3522782dace466a177a4bea35d6327b2b5f (patch)
tree987aa287634feb0d7aac7b7ab2073f7a12eac8f9 /src/vty
parent83361bd963b1e04bbbd8375173cb052c1b9a971a (diff)
stats_vty: Add asciidoc sections between the different counters
Change-Id: Ie37be744abd8c47211d64877bcd17f94465bd423
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/stats_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c
index 8d90945a..5ded7a44 100644
--- a/src/vty/stats_vty.c
+++ b/src/vty/stats_vty.c
@@ -516,12 +516,15 @@ DEFUN(show_stats_asciidoc_table,
host.app_info->name ? host.app_info->name : "", VTY_NEWLINE, VTY_NEWLINE);
/* 2x VTY_NEWLINE are intentional otherwise it would interpret the first table header
* as usual text*/
+ vty_out(vty, "=== Rate Counters%s%s", VTY_NEWLINE, VTY_NEWLINE);
vty_out(vty, "// generating tables for rate_ctr_group%s", VTY_NEWLINE);
rate_ctr_for_each_group(asciidoc_rate_ctr_group_handler, vty);
+ vty_out(vty, "== Osmo Stat Items%s%s", VTY_NEWLINE, VTY_NEWLINE);
vty_out(vty, "// generating tables for osmo_stat_items%s", VTY_NEWLINE);
osmo_stat_item_for_each_group(asciidoc_osmo_stat_item_group_handler, vty);
+ vty_out(vty, "== Osmo Counters%s%s", VTY_NEWLINE, VTY_NEWLINE);
vty_out(vty, "// generating tables for osmo_counters%s", VTY_NEWLINE);
asciidoc_counter_generate(vty);
return CMD_SUCCESS;