Skip to content

mihasya/go-metrics-librato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

go librato.Librato(metrics.DefaultRegistry,
    10e9,                  // interval
    "example@example.com", // account owner email address
    "token",               // Librato API token
    "hostname",            // source
    []float64{0.95},       // percentiles to send
    time.Millisecond,      // time unit
)

Migrating from rcrowley/go-metrics implementation

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

About

Librato client for the popular `rcrowley/go-metrics` lib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages