memory

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

README

MEMORY Plugin

Documentation

Documentation

Index

Constants

View Source
const (
	// EntityMemory ...
	EntityMemory = string("memory")

	// AttrTotal ...
	AttrTotal = "total"
	// AttrFree ...
	AttrFree = "free"
	// AttrUsedPercent ...
	AttrUsedPercent = "used_percent"

	// Name ...
	Name = "memory"

	// EntityType ...
	EntityType = "memory"
)

Variables

Functions

func New

func New() plugins.Pluggable

New ...

func NewAttr

func NewAttr() m.Attributes

NewAttr ...

func NewMetrics

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 plugins.Service) *Actor

NewActor ...

func (*Actor) Destroy

func (e *Actor) Destroy()

Jump to

Keyboard shortcuts

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