Documentation ¶
Index ¶
Constants ¶
View Source
const (
// TypeStr the value of "type" key in configuration.
TypeStr = "memory"
)
Variables ¶
View Source
var ErrInvalidTotalMem = errors.New("invalid total memory")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { metadata.MetricsBuilderConfig `mapstructure:",squash"` internal.ScraperConfig }
Config relating to Memory 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.