Documentation ¶
Overview ¶
Package filterprocessor implements a processor for filtering (dropping) metrics and/or spans by various properties.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶ added in v0.6.0
func NewFactory() component.ProcessorFactory
NewFactory returns a new factory for the Filter processor.
Types ¶
type Config ¶
type Config struct { configmodels.ProcessorSettings `mapstructure:",squash"` Metrics MetricFilters `mapstructure:"metrics"` }
Config defines configuration for Resource processor.
type MetricFilters ¶
type MetricFilters struct { // Include match properties describe metrics that should be included in the Collector Service pipeline, // all other metrics should be dropped from further processing. // If both Include and Exclude are specified, Include filtering occurs first. Include *filtermetric.MatchProperties `mapstructure:"include"` // Exclude match properties describe metrics that should be excluded from the Collector Service pipeline, // all other metrics should be included. // If both Include and Exclude are specified, Include filtering occurs first. Exclude *filtermetric.MatchProperties `mapstructure:"exclude"` }
MetricFilter filters by Metric properties.
Click to show internal directories.
Click to hide internal directories.