Documentation
¶
Index ¶
Constants ¶
View Source
const ( CPU = "CPU" Disk = "DISK" Memory = "MEM" Net = "NET" )
the types of the node metadata.
View Source
const ( Process = "PROCESS" Host = "HOST" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputNodeMeta ¶
type InputNodeMeta struct {
CPU bool
Memory bool
Net bool
Disk bool
Process bool
ProcessNamesRegex []string // The regular expressions for matching processes.
Labels map[string]string // The user custom labels.
ProcessIntervalRound int64 // The process metadata fetched once after round times.
// contains filtered or unexported fields
}
func (*InputNodeMeta) Collect ¶
func (in *InputNodeMeta) Collect(collector pipeline.Collector) error
func (*InputNodeMeta) Description ¶
func (in *InputNodeMeta) Description() string
Click to show internal directories.
Click to hide internal directories.