Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Type = component.MustNewType("load")
Type the value of "type" key in configuration.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // If true, metrics will be average load per cpu CPUAverage bool `mapstructure:"cpu_average"` // MetricsBuilderConfig allows to customize scraped metrics/attributes representation. metadata.MetricsBuilderConfig `mapstructure:",squash"` internal.ScraperConfig }
Config relating to Load Metric Scraper.
type Factory ¶
type Factory struct{}
Factory is the Factory for scraper.
func (*Factory) CreateDefaultConfig ¶
CreateDefaultConfig creates the default configuration for the Scraper.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.