hostmeta

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

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

func (*InputNodeMeta) Init

func (in *InputNodeMeta) Init(context pipeline.Context) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL