Exemple #1
0
        public void Start()
        {
            if (_running)
                return;

            _statsdListener = new StatsdListener(_port, HandleMessage);
            _statsdThread = new Thread(_statsdListener.Start);
            _statsdThread.Start();

            _running = true;
            Logger.Info("Statsd plugin started");
        }
Exemple #2
0
        public void Start()
        {
            if (_running)
            {
                return;
            }

            _statsdListener = new StatsdListener(_port, HandleMessage);
            _statsdThread   = new Thread(_statsdListener.Start);
            _statsdThread.Start();

            _running = true;
            Logger.Info("ReadStatsd plugin started");
        }