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/.
Max gerrit-no-reply at lists.osmocom.orgMax has submitted this change and it was merged. ( https://gerrit.osmocom.org/12931 ) Change subject: Enable statsd support ...................................................................... Enable statsd support Change-Id: I9112d9fd527cdc29d89868df40c6845a751c4865 --- M src/common/main.c M src/common/vty.c 2 files changed, 4 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified Pau Espin Pedrol: Looks good to me, but someone else must approve Harald Welte: Looks good to me, approved diff --git a/src/common/main.c b/src/common/main.c index f90a4d4..3a53813 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -33,6 +33,7 @@ #include <netinet/in.h> #include <arpa/inet.h> +#include <osmocom/core/stats.h> #include <osmocom/core/talloc.h> #include <osmocom/core/application.h> #include <osmocom/vty/telnet_interface.h> @@ -236,6 +237,7 @@ bts_vty_info.tall_ctx = tall_bts_ctx; osmo_init_logging2(tall_bts_ctx, &bts_log_info); + osmo_stats_init(tall_bts_ctx); vty_init(&bts_vty_info); ctrl_vty_init(tall_bts_ctx); rate_ctr_init(tall_bts_ctx); diff --git a/src/common/vty.c b/src/common/vty.c index e4a9dc1..9e900b2 100644 --- a/src/common/vty.c +++ b/src/common/vty.c @@ -31,6 +31,7 @@ #include <osmocom/gsm/abis_nm.h> #include <osmocom/gsm/protocol/gsm_04_08.h> #include <osmocom/vty/vty.h> +#include <osmocom/vty/stats.h> #include <osmocom/vty/command.h> #include <osmocom/vty/logging.h> #include <osmocom/vty/misc.h> @@ -1598,6 +1599,7 @@ logging_vty_add_cmds(cat); osmo_talloc_vty_add_cmds(); + osmo_stats_vty_add_cmds(); install_node(&bts_node, config_write_bts); install_element(CONFIG_NODE, &cfg_bts_cmd); -- To view, visit https://gerrit.osmocom.org/12931 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I9112d9fd527cdc29d89868df40c6845a751c4865 Gerrit-Change-Number: 12931 Gerrit-PatchSet: 1 Gerrit-Owner: Max <msuraev at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Max <msuraev at sysmocom.de> Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190218/2ed56950/attachment.htm>