StatsD: Network daemon for stats aggregation
UDP/TCP metrics collector with pluggable backend support.
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.
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.
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.
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');Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
MailHog
Captures development SMTP traffic with web and API interfaces.
FlameGraph
Converts profiling data into interactive SVG flame graphs for performance analysis.
ExcelJS
Parse, modify, and generate XLSX files in Node.js.
Cursor
Local code editor with integrated LLM assistance.
CXX
Safe FFI library for calling C++ from Rust and vice versa with zero-overhead bindings via code generation.
Related Reading
Guides and comparisons from the Greptile content library
What is agentic coding? Benefits, risks, and best tools to consider
What engineering leaders need to know about agentic coding: how it differs from AI coding and vibe coding, how it works, the benefits and risks, and the tools worth evaluating.
Best Code Review Tools in 2026
The best code review tools in 2026, compared on pricing, features, deployment options, and ideal use cases for teams of any size.
Choosing the Right Code Review Tool: Better Alternatives to Graphite AI
A breakdown of the best alternatives to Graphite for code reviews. Compare AI tools like Trag, open-source solutions like Gerrit, and database-focused platforms like Visual Expert.
Best AI Code Review Tools for GitLab
Enterprise-grade AI code review tools for GitLab teams. In-depth comparison of accuracy, security, and integration features to accelerate your merge request workflows.