Questions tagged [statsd]

Statsd is a node.js application created by Etsy. It is fundamentally a statistics and data aggregator, collecting data over UDP, aggregating it and then forwarding on to a backend service, such as Graphite.

More details can be found over at the Statsd Github page.

25 questions
44
votes
1 answer

How do StatsD and CollectD relate?

How do StatsD and CollectD relate? Is StatsD and alternative to CollectD Is StatsD used to aggregate metrics coming from CollectD (and possibly other tools) something else entirely. If so what?
Gbrits
  • 683
  • 1
  • 7
  • 9
17
votes
5 answers

nc (netcat) hangs, waiting for more data, in UDP mode.

I'm trying to send a small string to statsd via nc inside of a read block: while read line; do printf "folder.counter:value|1c" | nc -q 0 -u $host $port done Unfortunately, when in UDP mode, nc seems to want to wait indefinitely, even though…
bshacklett
  • 1,378
  • 4
  • 19
  • 37
17
votes
1 answer

Highly-available, Web-accessible and scalable deployment of statsd and graphite

I'd like to setup statsd/graphite so that I can log JS apps running on HTML devices (ie. not in a contained LAN environment, and possibly with a large volume of incoming data that I don't directly control). My constraints: entry point must speak…
David142
  • 353
  • 1
  • 2
  • 9
14
votes
4 answers

tcpdump increases udp performance

I'm running a set of load tests to determine the performance of the following setup: Node.js test suite (client) --> StatsD (server) --> Graphite (server) In short, the node.js test suite sends a set amount of metrics every x seconds to a StatsD…
Ruben Homs
  • 149
  • 7
14
votes
5 answers

How do you delete a counter in graphite whisper?

I have a counter at stats.message.foo and want to move it to stats.messages.foo. I've updated my code to populate the new counter, however the old one still exists. I've read all I need to do to remove a stat from graphite is to delete the…
hafichuk
  • 762
  • 2
  • 5
  • 18
13
votes
3 answers

Alternative to etsy/statsd

Is there any alternative to etsy's statsd? Maybe even a complete dashboard-like solution? My research only found proprietary SaaS solutions. For those who do not know: statsd is a deamon which collects app and system metrics via UDP and sends them…
d135-1r43
  • 411
  • 4
  • 13
6
votes
1 answer

What's the right way to start a node.js service?

I'm running a node.js service (statsd) on CentOS 6. What's the proper way to daemonize and start such a service? Potential Daemonizers--are daemonizers supposed to be language-specific or general?: forever (node-specific) daemonize nohup…
elliot42
  • 185
  • 6
5
votes
1 answer

How to forward UDP packets from Docker container to host 127.0.0.1?

I have a host (A) with a StatsD daemon listening at 127.0.0.1:8125: root@A# netstat -uln Proto Recv-Q Send-Q Local Address Foreign Address State udp 0 0 127.0.0.1:8125 0.0.0.0:* …
Futurama1
  • 119
  • 1
  • 6
4
votes
1 answer

How to display MongoDB stats in Graphite?

After googling for 2 days with no solution I would like to know if anyone uses Graphite with either CollectD or StatsD to include MongoDB statistics in a dashboard. I was hoping for an up-to-date plugin to use with CollectD, but I only found an…
Stephan
  • 417
  • 1
  • 5
  • 13
4
votes
1 answer

Statsd, Graphite and graphs

I've setup Graphite and statsd and both are running well. I'm using the example-client.py from graphite/examples to measure load values and it's OK. I started doing tests with statsd and at first it seemed ok because it generated some graphs but now…
w00t
  • 1,134
  • 3
  • 16
  • 35
4
votes
0 answers

How does one publish statsd stats for consumption by graphite?

We're just now getting to grips with statsd+graphite, and we (think we) want to look at graphs sliced differently. For example, say we have a website foo that is multi-tenanted to 3 customers and served on 4 servers: aggregate (all servers, all…
Peter Mounce
  • 1,243
  • 4
  • 16
  • 28
3
votes
1 answer

Sending data to statsd does not work in some locations with content_by_lua_file

Before Until recently I used nginx 1.4.x with zebrafishlabs/nginx-statsd as a reverse proxy for openresty (yes, I know, nginx behind nginx is stupid - keep reading please) with the following location nginx configuration: location /track { …
Greg Dubicki
  • 1,191
  • 1
  • 14
  • 30
2
votes
0 answers

How to make Statsd talk to Ganglia on EC2 (localhost)

As per topic, Im just trying to make this simple setup work. The services are running fine, but as far as I can tell statsd doesn't send anything over to ganglia. Ganglia is working fine I guess since I get the web interface and basic system info…
Dreen
  • 153
  • 4
2
votes
2 answers

Graphite is plotting increments from Logstash in float

I was trying to mimic this logstash.net/docs/1.1.0/tutorials/metrics-from-logs I have following setup nginx(app server) ==sends the increment==>Etsy statsD=====>Graphite This setup is working fine since graph is being plotted just fine but not…
kaji
  • 2,510
  • 16
  • 17
1
vote
1 answer

Aggregating stats from events old and new

We'd like to feed CDN logs into Graphite and aggregate numbers found in there (rate of different HTTP status-codes, average response sizes, average cache-hit ratio, etc.) However, the logs are only uploaded to us occasionally and some times even out…
Mikhail T.
  • 2,272
  • 1
  • 22
  • 49
1
2