Metrics doesnt show up after few days of usage


#1

Hello Guys,

We are using StatsD, Graphite and Grafana. We get the metrics for the application in graphite server and grafana dashboard for some days. After that, we see packet drops for metrics and stop getting new metrics. After restart of graphite and statsd server, it starts again and process continues.

Below is the error i get in nohop.log for statsD server

DEBUG: numStats: 50514
/usr/lib/node_modules/statsd/backends/graphite.js:132
** return s.metrics.map(function(m) { return m.toText(); }).join(’\n’) + ‘\n’;**

Console.log from graphite server :

;[Errno 36] File name too long: '/var/lib/carbon/whisper/stats/gauges/…


#2

Do you have anything else listening on the same port as statsd? This is a known issue : https://github.com/etsy/statsd/issues/472