containerd/vendor/src/github.com/cyberdelia/go-metrics-graphite
Alexander Morozov e17cf1ad4f Vendor dependencies
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2016-01-05 14:56:27 -08:00
..
AUTHORS Vendor dependencies 2016-01-05 14:56:27 -08:00
graphite.go Vendor dependencies 2016-01-05 14:56:27 -08:00
LICENSE Vendor dependencies 2016-01-05 14:56:27 -08:00
README.md Vendor dependencies 2016-01-05 14:56:27 -08:00

This is a reporter for the go-metrics library which will post the metrics to Graphite. 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/cyberdelia/go-metrics-graphite"


go graphite.Graphite(metrics.DefaultRegistry,
  1*time.Second, "some.prefix", addr)

Migrating from rcrowley/go-metrics implementation

Simply modify the import from "github.com/rcrowley/go-metrics/librato" to "github.com/cyberdelia/go-metrics-graphite" and it should Just Work.