Skip to content

Integrate Lightrun with StatsD


Only users with ROLE_MANAGER permissions can perform these actions.

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.

For Lightrun to send observability data to your integrations, ensure:

  • The application has a running agent attached to it
  • Your action Target is set to Plugin.

Connect to and disconnect from StatsD

  1. Open a browser and log in to your Lightrun account.

  2. In the menu on the left, click Integrations.

    The page loads with all available integrations:

    Integrations Page -third

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

    The Statsd Integration window pops up:

    StatsD Configuration -third

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

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

  6. To disable the configuration, click Disconnect.

Last update: April 17, 2024