metricdeconstructor

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricDeconstructor

type MetricDeconstructor interface {
	Parse(originalMetric string) (newMetric string, mtype datapoint.MetricType, dimension map[string]string, err error)
}

MetricDeconstructor is an object that can deconstruct a single metric name into what dimensions it should represent. Useful for compatability with non dimentioned stores, like graphite

func Load

func Load(name string, options string) (MetricDeconstructor, error)

Load will load a MetricDeconstructor of the given name, with the given options

Jump to

Keyboard shortcuts

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