From 5b5c1ed63caa7787193a9b4922f7fcb266c18045 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 18 Feb 2019 13:33:28 +0100 Subject: OsmoSTP: enable statsd support Change-Id: I5309ae44e5b9eda1a5dd1bbf10db5ffdff1fa9cd --- stp/stp_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stp/stp_main.c b/stp/stp_main.c index 0efe4ed..0554b4a 100644 --- a/stp/stp_main.c +++ b/stp/stp_main.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include @@ -33,6 +34,7 @@ #include #include #include +#include #include #include #include @@ -163,6 +165,7 @@ int main(int argc, char **argv) tall_stp_ctx = talloc_named_const(NULL, 1, "osmo-stp"); msgb_talloc_ctx_init(tall_stp_ctx, 0); osmo_init_logging2(tall_stp_ctx, &log_info); + osmo_stats_init(tall_stp_ctx); vty_init(&vty_info); handle_options(argc, argv); @@ -173,6 +176,7 @@ int main(int argc, char **argv) osmo_ss7_init(); osmo_fsm_log_addr(false); logging_vty_add_cmds(&log_info); + osmo_stats_vty_add_cmds(); osmo_ss7_vty_init_sg(tall_stp_ctx); osmo_sccp_vty_init(); osmo_fsm_vty_add_cmds(); -- cgit v1.2.3