Change in libosmocore[master]: stats_vty: Add asciidoc sections between the different counters

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Tue Jul 24 18:03:07 UTC 2018


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/10152


Change subject: stats_vty: Add asciidoc sections between the different counters
......................................................................

stats_vty: Add asciidoc sections between the different counters

Change-Id: Ie37be744abd8c47211d64877bcd17f94465bd423
---
M src/vty/stats_vty.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/52/10152/1

diff --git a/src/vty/stats_vty.c b/src/vty/stats_vty.c
index 8d90945..5ded7a4 100644
--- a/src/vty/stats_vty.c
+++ b/src/vty/stats_vty.c
@@ -516,12 +516,15 @@
 		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;

-- 
To view, visit https://gerrit.osmocom.org/10152
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie37be744abd8c47211d64877bcd17f94465bd423
Gerrit-Change-Number: 10152
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180724/8b573f6b/attachment.htm>


More information about the gerrit-log mailing list