Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityMetricDeconstructor ¶ added in v0.9.0
type IdentityMetricDeconstructor struct { }
IdentityMetricDeconstructor returns a zero dimension gauge of a metric
func (*IdentityMetricDeconstructor) Parse ¶ added in v0.9.0
func (parser *IdentityMetricDeconstructor) Parse(originalMetric string) (string, datapoint.MetricType, map[string]string, error)
Parse returns the zero dimension gauge
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 compatibility with non dimensioned stores, like graphite
Click to show internal directories.
Click to hide internal directories.