cpu

package
v0.0.0-...-ffd72ff Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUStats

type CPUStats struct {
	PerCPU         bool `toml:"percpu"`
	TotalCPU       bool `toml:"totalcpu"`
	CollectCPUTime bool `toml:"collect_cpu_time"`
	ReportActive   bool `toml:"report_active"`
	// contains filtered or unexported fields
}

func NewCPUStats

func NewCPUStats(ps system.PS) *CPUStats

func (*CPUStats) Description

func (c *CPUStats) Description() string

func (*CPUStats) Gather

func (c *CPUStats) Gather(acc telegraf.Accumulator) error

func (*CPUStats) SampleConfig

func (c *CPUStats) SampleConfig() string

Jump to

Keyboard shortcuts

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