Documentation ¶
Overview ¶
Package filter implements a message filter that may modify or block points.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug *log.Logger
Functions ¶
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter filters time series data points.
type Point ¶
type Point interface { // Metric returns the current value of the Metric field. Metric() []byte // Tag returns the current value of the tag identified by the given key. // Tag returns nil if the tag is absent. Tag(key []byte) []byte // SetMetric sets the Metric field, expanding ${N} escapes. SetMetric([]byte) error // SetTags sets value of each tag identified by the provided key, value pairs. SetTags(keyval ...[]byte) error }
Point represents a filterable data point.
Click to show internal directories.
Click to hide internal directories.