Skip to content

Integrate with StatsD

Statsd is a network daemon that runs on the Node.js platform and listens for statistics, such as counters and timers, that are sent over UDP or TCP protocols. It then sends aggregates of the statistics to a backend services such as Graphite.

There's a short script that performs online metric scraping from the agent log file (usually /tmp/lightrun_java_agent.INFO).

cd <install-dir>/agent/stats/
./ --host <statsd-hostname> --port <statsd-port> --logfile <agent-log-file.txt>


Install and configure StatsD.

Connect to and disconnect from StatsD

  1. From the Integrations page, click Connect from the StatsD card.

    The Statsd Integration window pops up:

    StatsD Configuration -third

  2. Complete the Server and UDP Port details, or if correct, leave the default values.

  3. Click Connect and make sure you see the approval toast message.

  4. To disable the configuration, click Disconnect.

Last update: September 27, 2021