From 6e938eda1cb757a24eb38da91fa7d97892c7387e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 13 Aug 2016 10:36:58 +0200 Subject: stats: Initialize the stats(d) backend in the client/server Initialize the stats backend allowing key performance indicators to be pushed out of the system. Change-Id: Id652b60d230f705b927e49d81cd3731432156c7e --- src/osmo_client_main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osmo_client_main.c') diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c index a38cc80..b509c84 100644 --- a/src/osmo_client_main.c +++ b/src/osmo_client_main.c @@ -26,10 +26,12 @@ #include #include #include +#include #include #include #include +#include #include #include @@ -161,11 +163,13 @@ int main(int argc, char **argv) vty_info.copyright = osmopcap_copyright; vty_init(&vty_info); logging_vty_add_cmds(&log_info); + osmo_stats_vty_add_cmds(&log_info); /* parse options */ handle_options(argc, argv); rate_ctr_init(tall_bsc_ctx); + osmo_stats_init(tall_bsc_ctx); /* seed the PRNG */ srand(time(NULL)); -- cgit v1.2.3