Documentation
¶
Overview ¶
Package memcached_exporter embeds https://github.com/google/memcached_exporter
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// Enabled enables the integration.
Enabled bool `yaml:"enabled"`
CommonConfig config.Common `yaml:",inline"`
// MemcachedAddress is the address of the memcached server (host:port).
MemcachedAddress string `yaml:"memcached_address"`
// Timeout is the connection timeout for memcached.
Timeout time.Duration `yaml:"timeout"`
}
Config controls the memcached_exporter integration.
DefaultConfig is the default config for memcached_exporter.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler for Config.
Click to show internal directories.
Click to hide internal directories.