Navigate:
All Reposstatsd
~$STATSD0.0%

StatsD: Network daemon for stats aggregation

UDP/TCP metrics collector with pluggable backend support.

LIVE RANKINGS • 06:52 AM • STEADY
OVERALL
#259
5
DEVELOPER TOOLS
#55
4
30 DAY RANKING TREND
ovr#259
·Devel#55
STARS
18.0K
FORKS
2.0K
DOWNLOADS
818
7D STARS
+2
7D FORKS
0
See Repo:
Share:

Learn more about statsd

StatsD is a network daemon written in Node.js that receives metrics from applications and aggregates them before sending to backend services. It listens for incoming statistics on UDP and TCP ports, organizing metrics into user-defined buckets with configurable flush intervals. The daemon supports multiple metric types including counters, timers, and gauges, with a simple line protocol for metric submission. It is commonly deployed as a metrics collection layer between applications and time-series databases or monitoring systems.

statsd

1

Pluggable backend architecture

Supports multiple backend services through a plugin interface, allowing metrics to be sent to Graphite, InfluxDB, or other systems without modifying core code.

2

UDP and TCP support

Accepts metrics over both UDP for low-overhead fire-and-forget submission and TCP for guaranteed delivery, accommodating different application requirements.

3

Simple line protocol

Uses a minimal text-based format (metricname:value|type) that requires no client libraries, allowing metrics to be sent from any language or tool via basic network calls.


const StatsD = require('node-statsd');

const client = new StatsD({
  host: 'localhost',
  port: 8125
});

// Increment a counter for user signups
client.increment('user.signup');
client.increment('api.requests', 1);
client.decrement('active.connections');


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers