Documentation ¶
Overview ¶
Package dpfilters has logic describing the filtering of unwanted metrics. Filters are configured from the agent configuration file and is intended to be passed into each monitor for use if it sends datapoints on its own.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatapointFilter ¶
type DatapointFilter interface { // Matches takes a datapoint and returns whether it is matched by the // filter Matches(*datapoint.Datapoint) bool }
DatapointFilter can be used to filter out datapoints
type FilterSet ¶
type FilterSet struct {
Filters []DatapointFilter
}
FilterSet is a collection of datapont filters, any one of which must match for a datapoint to be matched.
Click to show internal directories.
Click to hide internal directories.