0

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 dont know how to write my own script to monitor some service in graphite.
& can u guide me about what statsd client & server do?? Is this how we write new scripts to implement new services??

exo
  • 29
  • 2
  • 4

1 Answers1

3

You can first try to play by sending metrics with a command line like : echo -n "mymetric:1|c" | nc -u statsdhost 8125

Vlad
  • 31
  • 1