metrics

package
v0.0.0-...-47f31f0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2017 License: MPL-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackHole

type BlackHole struct{}

func (BlackHole) Count

func (b BlackHole) Count(stat string, count float64, tags []string) error

func (BlackHole) Set

func (b BlackHole) Set(stat string, value float64, tags []string) error

type GodSpeed

type GodSpeed struct {
	IP        string
	Port      int
	NameSpace string
}

func (*GodSpeed) Count

func (b *GodSpeed) Count(stat string, count float64, tags []string) error

func (*GodSpeed) Set

func (b *GodSpeed) Set(stat string, value float64, tags []string) error

type Metrics

type Metrics interface {
	Count(stat string, count float64, tags []string) error
	Set(stat string, value float64, tags []string) error
}
var Metric Metrics = BlackHole{}

Jump to

Keyboard shortcuts

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