Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr the value of "type" key in configuration.
TypeStr = "network"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { internal.ConfigSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct Metrics metadata.MetricsSettings `mapstructure:"metrics"` // Include specifies a filter on the network interfaces that should be included from the generated metrics. Include MatchConfig `mapstructure:"include"` // Exclude specifies a filter on the network interfaces that should be excluded from the generated metrics. Exclude MatchConfig `mapstructure:"exclude"` }
Config relating to Network Metric Scraper.
type Factory ¶
type Factory struct { }
Factory is the Factory for scraper.
func (*Factory) CreateDefaultConfig ¶
CreateDefaultConfig creates the default configuration for the Scraper.
type MatchConfig ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.