librato

package
v0.0.0-...-de30df3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2013 License: BSD-2-Clause-Views Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Librato

func Librato(r metrics.Registry, d time.Duration, e string, t string, s string, p []float64)

Types

type LibratoReporter

type LibratoReporter struct {
	Email, Token string
	Source       string
	Interval     time.Duration
	Registry     metrics.Registry
	Percentiles  []float64 // percentiles to report on histogram metrics
}

func (*LibratoReporter) BuildRequest

func (self *LibratoReporter) BuildRequest(now time.Time, r metrics.Registry) (snapshot *librato.MetricsFormat, err error)

func (*LibratoReporter) Run

func (self *LibratoReporter) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL