cpuspeed

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

README

CPU Plugin

Documentation

Documentation

Index

Constants

View Source
const (
	// EntityCpuspeed ...
	EntityCpuspeed = string("cpuspeed")

	// AttrCpuCores ...
	AttrCpuCores = "cores"
	// AttrCpuMhz ...
	AttrCpuMhz = "mhz"
	// AttrCpuAll ...
	AttrCpuAll = "all"
	// AttrLoadMin ...
	AttrLoadMin = "load_min"
	// AttrLoadMax ...
	AttrLoadMax = "load_max"

	// Name ...
	Name = "cpuspeed"

	// EntityType ...
	EntityType = "cpuspeed"

	Version = "0.0.1"
)

Variables

Functions

func New

func New() supervisor.Pluggable

New ...

func NewAttr

func NewAttr() m.Attributes

NewAttr ...

func NewMetrics added in v0.12.0

func NewMetrics() []*m.Metric

Types

type Actor

type Actor struct {
	*supervisor.BaseActor
	// contains filtered or unexported fields
}

Actor ...

func NewActor

func NewActor(entity *m.Entity,
	service supervisor.Service) *Actor

NewActor ...

func (*Actor) Destroy added in v0.12.0

func (e *Actor) Destroy()

Jump to

Keyboard shortcuts

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