Categorygithub.com/pubnub/go-metrics-statsd
repositorypackage
0.0.0-20170124014003-7da61f429d6b
Repository: https://github.com/pubnub/go-metrics-statsd.git
Documentation: pkg.go.dev

# README

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)