StatsD logo

StatsD

Simple daemon for easy stats aggregation

What is StatsD?

It is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite).
StatsD is a tool in the Monitoring Tools category of a tech stack.
StatsD is an open source tool with GitHub stars and GitHub forks. Here’s a link to StatsD's open source repository on GitHub

Who uses StatsD?

Companies
85 companies reportedly use StatsD in their tech stacks, including Shopify, Robinhood, and Lyft.

Developers
162 developers on StackShare have stated that they use StatsD.

StatsD Integrations

Node.js, Docker, Datadog, Traefik, and Graphite are some of the popular tools that integrate with StatsD. Here's a list of all 18 tools that integrate with StatsD.
Pros of StatsD
9
Open source
7
Single responsibility
5
Efficient wire format
3
Handles aggregation
3
Loads of integrations
1
Many implementations
1
Scales well
1
Simple to use
1
NodeJS
Decisions about StatsD

Here are some stack decisions, common use cases and reviews by companies and developers who chose StatsD in their tech stack.

Dewald Swanepoel
Needs advice
on
DatadogDatadog
and
StatsDStatsD

I see StatsD is commonly used in conjunction with Datadog. In fact, Datadog even has their own StatsD daemon (called DogStatsD) embedded in the DataDog agent. Can someone explain to me what it is that StatsD gives you which you don't already have with Datadog's APM and distributed tracing functionality?

See more

Blog Posts

JavaScriptGitHubNode.js+29
14
13633
GitHubPythonReact+42
49
40927
GitHubSlackNGINX+15
28
21099
JavaScriptGitHubPython+42
53
22159

StatsD's Features

  • Network daemon
  • Runs on the Node.js platform
  • Sends aggregates to one or more pluggable backend services

StatsD Alternatives & Comparisons

What are some alternatives to StatsD?
collectd
collectd gathers statistics about the system it is running on and stores this information. Those statistics can then be used to find current performance bottlenecks (i.e. performance analysis) and predict future system load (i.e. capacity planning). Or if you just want pretty graphs of your private server and are fed up with some homegrown solution you're at the right place, too.
Prometheus
Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts if some condition is observed to be true.
InfluxDB
InfluxDB is a scalable datastore for metrics, events, and real-time analytics. It has a built-in HTTP API so you don't have to write any server side code to get up and running. InfluxDB is designed to be scalable, simple to install and manage, and fast to get data in and out.
Telegraf
It is an agent for collecting, processing, aggregating, and writing metrics. Design goals are to have a minimal memory footprint with a plugin system so that developers in the community can easily add support for collecting metrics.
Logstash
Logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). If you store them in Elasticsearch, you can view and analyze them with Kibana.
See all alternatives

StatsD's Followers
293 developers follow StatsD to keep up with related blogs and decisions.