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.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Can I use statsD to scrape Kubernetes metric endpoint or from Kubernetes metric exporters?

Can I use statsD to scrape Kubernetes metric endpoint or from Kubernetes metric exporters(for kubernetes infrastructure metrics like nodes, pods, control plane)? I see people are using Prometheus more....
bunny's user avatar
  • 101
1 vote
1 answer

How to capture UDP traffic so it can be piped to grep

I'm trying to capture UDP traffic which is being sent as StatsD metrics (on port 8125). The most simple approach I tried is to run nc -ul 8125 which prints the metrics to the terminal...but they are ...
Darragh's user avatar
  • 113
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 ...
Mikhail T.'s user avatar
  • 2,338
5 votes
1 answer

How to forward UDP packets from Docker container to host

I have a host (A) with a StatsD daemon listening at root@A# netstat -uln Proto Recv-Q Send-Q Local Address Foreign Address State udp 0 0
ooo's user avatar
  • 119
0 votes
1 answer

Aggregate per timestamp datapoints in graphite

My first post so be gentle please! So I have an installation of graphite up and running on Ubuntu 16.04 server. (version 0.10) I am sending in metrics and everything works fine, but I am sending in ...
Girtsd's user avatar
  • 23
0 votes
1 answer

How to view historical usage metrics, per process?

My first inclination here would be something built into SAR, or the sysstat package in general. If that is indeed the case however, I can't seem to find this solution. What I would like to see, and ...
MrDuk's user avatar
  • 865
0 votes
2 answers

How to send server metrics data to statsd?

Our monitoring stack is Grafana + InluxDB + statsD. We use it for application monitoring. We need to add server metrics (CPU, memory, network connections, etc...) to Grafana, so I'm guessing we'll ...
Eran Betzalel's user avatar
1 vote
1 answer

Adjust time settings on server: change time or timezone in OS, or configure graphite settings?

So I have a server collecting metrics via StatsD, which get aggregated and shown via the Graphite webapp. If I mark the Auto-Refresh option in my chart, the time doesn't match with the time I'm on. I'...
knocte's user avatar
  • 357
0 votes
1 answer

Logstash conditional output to statsd - based on haproxy request URI

I have Logstash version 1.4.2 analysing haproxy logs using the HAPROXYHTTP pattern, and it is already sending counters and timing information to statsd for aggregation and onward storage in Graphite/...
Ben Tullis's user avatar
1 vote
2 answers

Monitoring and Alerting for application traffic

Currently I put hourly traffic (total number of input requests) of my website in a MySQL table. I keep data for the last 90 days. I want to check every hour, lets say 6th hour, that whether the ...
Asmita 's user avatar
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 ...
Ruben Homs's user avatar
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 ...
Stephan's user avatar
  • 417
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 ...
Greg Dubicki's user avatar
  • 1,239
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 ...
Dreen's user avatar
  • 153
0 votes
1 answer

How do I get the Graphite webapp to (re)read what's currently coming from collectd?

I have collectd running the tail plugin and writing data out using the write_graphite plugin (via carbon). This seems to work. If I then change the tail plugin config (e.g. change the Regex or DSType),...
bugsduggan's user avatar
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's user avatar
  • 683
1 vote
1 answer

Normalising vhost name from varnish for statsd

The setup I am collecting statistics from Varnish with Logstash, which is configured to increment statsd counters based on the vhost in the server logs and the result code. I also have carbon ...
Flup's user avatar
  • 7,998
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 ...
bshacklett's user avatar
  • 1,378
14 votes
5 answers

How do you delete a counter in graphite whisper?

I have a counter at and want to move it to 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 ...
hafichuk's user avatar
  • 762
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 ...
David142's user avatar
  • 353
4 votes
1 answer

Statsd, Graphite and graphs

I've setup Graphite and statsd and both are running well. I'm using the from graphite/examples to measure load values and it's OK. I started doing tests with statsd and at first it ...
w00t's user avatar
  • 1,164
0 votes
1 answer

how to write a script in statsD to insert metrics information in graphite

Can anyone please guide me about how to write scripts for statsD & see the metric in Graphite. I am getting the graphs for the default scripts run by statsd to graphite i.e Cpu usage etc but i ...
exo's user avatar
  • 29
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?: ...
elliot42's user avatar
  • 185
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 ...
d135-1r43's user avatar
  • 411
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 ...
Peter Mounce's user avatar
  • 1,263
2 votes
2 answers

Graphite is plotting increments from Logstash in float

I was trying to mimic this I have following setup nginx(app server) ==sends the increment==>Etsy statsD=====>Graphite This setup is working fine ...
kaji's user avatar
  • 2,528