We have recently rebranded and changed our name from Dataloop.IO to Outlyer. Our agent is still called “dataloop agent”, and relevant code reflects the old name (Dataloop) as well. Thank you for your patience as we update everything.

StatsD Clients

StatsD enables developers to instrument server side code and send metrics to Outlyer for visualisation and alerting. Data is sent using UDP so network issues will never slow your application down.

Things you need to get started

  1. Connection details for a StatsD server
  2. A StatsD client library

Basic one-time setup

Each accounts gets a docker container hosting a StatsD server. Details for hosted StatsD can be found here. Alternatively, you can setup your own StatsD server following our config guide.

Once you have a server setup find an appropriate StatsD Client for the language you are using.

For our example we'll use Python and the pystatsd library. Full documentation can be found here

All StatsD client libraries will need to be configured with a StatsD server and port to connect to. In our example we've spun up a StatsD server at on port 8125 udp.

Configuration within the app is as simple as adding:

from statsd import StatsClient

statsd = StatsClient(host='',

That's pretty much it. You can now use the statsd object in your code to start sending metrics.