Questions tagged [statsd]

A simple, lightweight network daemon to collect and aggregate metrics over UDP.

About

StatsD is developed by Etsy team and is written in node.js. It is a network daemon which listens on a predefined port for UDP packets that are send to it which describe different data metrics, aggregates them, and flushes the aggregated data through back end defined by the user.

The applications can feed any number of UDP packets in formats defined by statsD termed as buckets.

StatsD aggregates the data received over UDP and creates the result for the defined flush interval and sends it to the defined backend.

The default backend provided by statsD is graphite and it has options to choose the backend that may fit the application scenario.

Concepts

  1. 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)
  2. values : Each stat will have a value. How it is interpreted depends on modifiers
  3. flush : After the flush interval timeout (default 10 seconds), stats are munged and sent over to Graphite or any other backend choosen.

Supported Backends

  1. Graphite (graphite): An open-source time-series data store that provides visualization through a web-browser.
  2. Console (console): Outputs the received metrics to stdout (see what's going on during development).
  3. Repeater (repeater): Utilizes the packet emit API to forward raw packets retrieved by StatsD to multiple backend StatsD instances.
  4. More options available as separate packges can be found here

Open Source

fork StatsD from here: http://github.com/etsy/statsd

323 questions
0
votes
1 answer

graphite statsd xaxis every 2 seconds

I have installed graphite, nodejs-statsd (to receive data), and python statsd client(to send data). below is a test script which sends data to the udp socket of statsd process. #!/usr/bin/env python import time import random import statsd c =…
krisdigitx
  • 7,068
  • 20
  • 61
  • 97
0
votes
1 answer

Capture / Monitor system data of application server in Graphite

I am using graphite server to capture my metrics data and bring down to graphs. I have 4 application servers which is load balancer setup. My aim is capture system data such as cpu usage, memory usage, disk load, etc., for all the 4 application…
0
votes
1 answer

What happens if statsd cannot contact Graphite?

I'm new to Node.js, but reading the statsd source, it looks to me that if for whatever reason the Graphite backend becomes inaccessible, that statsd just spills its collected stats on the floor, rather than retaining them in a growing cache of…
Steve Rehrauer
  • 157
  • 1
  • 8
0
votes
1 answer

Graphite & statsd generating many nodes

I just installed Graphite & statsd to get some statistics for my web-application. It already tracks the data, but it generates way too many nodes inside the Graphite webapp's tree. See attached image: a busy cat…
Matthias Scholz
  • 1,015
  • 1
  • 13
  • 25
0
votes
1 answer

Performance chart of a counter with Graphite

I want a chart like the following which shows that the number of registered users was 0 at 9:41 am and increased by 41 on 9:46 am: http://img59.imageshack.us/img59/7989/localhostscreencapture2.png But I got this graphite chart (I incremented the…
Murdoch
  • 630
  • 2
  • 8
  • 21
-1
votes
1 answer

npm install with 2 projects in one docker image

I have a docker container that combines 2 node projects into one. Project A is the statsd project and project B is a postgres backend project that writes to a postgres database using the npm package pg. I have both A and B in a 2 separate repos.…
breezymri
  • 3,975
  • 8
  • 31
  • 65
-1
votes
1 answer

Statsd installation on Ubuntu 14.04 issue. Unable to start service after installation

I'm a relative newbie to running ubuntu, but I have followed along with Justin Ellingwood's fantastic tutorials for getting graphite and statsd setup to run on Ubuntu 14.04.…
Vaanderal
  • 9
  • 1
-2
votes
1 answer

I can not understand, graphite support udp, why do we need statsd

Graphite can user TCP and UDP lisen,why graphite default use TCP not UDP.Whether statsd is superfluous?
1 2 3
21
22