Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cadvisor ¶
type Cadvisor struct {
config.PluginConfig
Instances []*Instance `toml:"instances"`
}
func (*Cadvisor) GetInstances ¶
type CadvisorType ¶
type CadvisorType string
const ( ContainerType CadvisorType = "cadvisor" NodeType CadvisorType = "kubelet" )
type Instance ¶
type Instance struct {
config.InstanceConfig
URL string `toml:"url"`
Type CadvisorType `toml:"type"`
NamePrefix string `toml:"name_prefix"`
BearerTokenString string `toml:"bearer_token_string"`
BearerTokeFile string `toml:"bearer_token_file"`
Username string `toml:"username"`
Password string `toml:"password"`
Timeout config.Duration `toml:"timeout"`
IgnoreMetrics []string `toml:"ignore_metrics"`
IgnoreLabelKeys []string `toml:"ignore_label_keys"`
Headers []string `toml:"headers"`
ChooseLabelKeys []string `toml:"choose_label_keys"`
config.UrlLabel
tls.ClientConfig
*cache.BasicCache[string]
// contains filtered or unexported fields
}
func (*Instance) Gather ¶
func (ins *Instance) Gather(slist *types.SampleList)
Click to show internal directories.
Click to hide internal directories.