Added support for graphite and statsd