/go-metrics-statsd

library for sending statsd messages via go-metrics https://github.com/rcrowley/go-metrics

Primary LanguageGoMIT LicenseMIT

Intro

This library is based on the cyberdelia graphite library just modifying the wireformat for statsd

This is a reporter for the go-metrics library which will post the metrics to Statsd. It was originally part of the go-metrics library itself, but has been split off to make maintenance of both the core library and the client easier.

Usage

import "github.com/pubnub/go-metrics-statsd"


go statsd.StatsD(metrics.DefaultRegistry,
  1*time.Second, "some.prefix", addr)