All Projects → statsd → Statsd

statsd / Statsd

Licence: mit
Daemon for easy but powerful stats aggregation

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Statsd

Cernan
telemetry aggregation and shipping, last up the ladder
Stars: ✭ 306 (-98.11%)
Mutual labels:  metrics, graphite, statsd
Logmonitor
Monitoring log files on windows systems.
Stars: ✭ 23 (-99.86%)
Mutual labels:  metrics, graphite, statsd
Graylog Plugin Metrics Reporter
Graylog Metrics Reporter Plugins
Stars: ✭ 71 (-99.56%)
Mutual labels:  metrics, graphite, statsd
Anode
Utility for analyzing graphite metrics. Experimental package.
Stars: ✭ 188 (-98.84%)
Mutual labels:  metrics, graphite
Appmetrics
App Metrics is an open-source and cross-platform .NET library used to record and report metrics within an application.
Stars: ✭ 1,986 (-87.72%)
Mutual labels:  metrics, graphite
Go Statsd Client
statsd client for Go
Stars: ✭ 163 (-98.99%)
Mutual labels:  metrics, statsd
Foundatio
Pluggable foundation blocks for building distributed apps.
Stars: ✭ 1,365 (-91.56%)
Mutual labels:  metrics, statsd
Graphite exporter
Server that accepts metrics via the Graphite protocol and exports them as Prometheus metrics
Stars: ✭ 217 (-98.66%)
Mutual labels:  metrics, graphite
Icingaweb2 Module Grafana
Grafana module for Icinga Web 2 (supports InfluxDB & Graphite)
Stars: ✭ 190 (-98.83%)
Mutual labels:  metrics, graphite
Statix
Fast and reliable Elixir client for StatsD-compatible servers
Stars: ✭ 228 (-98.59%)
Mutual labels:  metrics, statsd
graphite-client
Windows (.NET) library and tools for feeding data into Graphite and statsD.
Stars: ✭ 85 (-99.47%)
Mutual labels:  graphite, statsd
Statsd Vis
Standalone StatsD server with built-in visualization
Stars: ✭ 124 (-99.23%)
Mutual labels:  metrics, statsd
Icinga2
Icinga is a monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.
Stars: ✭ 1,670 (-89.68%)
Mutual labels:  metrics, graphite
Node Statsd Client
Node.js client for statsd
Stars: ✭ 170 (-98.95%)
Mutual labels:  metrics, statsd
Carbon
Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
Stars: ✭ 1,435 (-91.13%)
Mutual labels:  metrics, graphite
Kenshin
Kenshin: A time-series database alternative to Graphite Whisper with 40x improvement in IOPS
Stars: ✭ 203 (-98.75%)
Mutual labels:  metrics, graphite
grafana-stack
Tiny docker images for graphite, grafana and statsdly
Stars: ✭ 28 (-99.83%)
Mutual labels:  graphite, statsd
dokku-graphite
a graphite, grafana, statsd, carbon plugin for dokku
Stars: ✭ 47 (-99.71%)
Mutual labels:  graphite, statsd
gateway
A proxy to buffer and forward metrics, events, and traces.
Stars: ✭ 94 (-99.42%)
Mutual labels:  metrics, graphite
Amon
Amon is a modern server monitoring platform.
Stars: ✭ 1,331 (-91.77%)
Mutual labels:  metrics, statsd

StatsD Build Status Join the chat at https://gitter.im/statsd/statsd Docker Pulls

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).

Key Concepts

  • buckets

    Each stat is in its own "bucket". They are not predefined anywhere. Buckets can be named anything that will translate to Graphite (periods make folders, etc)

  • values

    Each stat will have a value. How it is interpreted depends on modifiers. In general values should be integers.

  • flush

    After the flush interval timeout (defined by config.flushInterval, default 10 seconds), stats are aggregated and sent to an upstream backend service.

Installation and Configuration

Docker

StatsD supports docker in two ways:

Manual installation

  • Install Node.js (All Current and LTS Node.js versions are supported.)
  • Clone the project
  • Create a config file from exampleConfig.js and put it somewhere
  • Start the Daemon: node stats.js /path/to/config

Usage

The basic line protocol expects metrics to be sent in the format:

<metricname>:<value>|<type>

So the simplest way to send in metrics from your command line if you have StatsD running with the default UDP server on localhost would be:

echo "foo:1|c" | nc -u -w0 127.0.0.1 8125

More Specific Topics

Debugging

There are additional config variables available for debugging:

  • debug - log exceptions and print out more diagnostic info
  • dumpMessages - print debug info on incoming messages

For more information, check the exampleConfig.js.

Tests

A test framework has been added using node-unit and some custom code to start and manipulate StatsD. Please add tests under test/ for any new features or bug fixes encountered. Testing a live server can be tricky, attempts were made to eliminate race conditions but it may be possible to encounter a stuck state. If doing dev work, a killall statsd will kill any stray test servers in the background (don't do this on a production machine!).

Tests can be executed with ./run_tests.sh.

History

StatsD was originally written at Etsy and released with a blog post about how it works and why we created it.

Inspiration

StatsD was inspired (heavily) by the project of the same name at Flickr. Here's a post where Cal Henderson described it in depth: Counting and timing. Cal re-released the code recently: Perl StatsD

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].