darwin

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2015 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUUsageGenerator added in v0.14.1

type CPUUsageGenerator struct {
}

CPUUsageGenerator XXX

func (*CPUUsageGenerator) Generate added in v0.14.1

func (g *CPUUsageGenerator) Generate() (metrics.Values, error)

Generate returns current CPU usage of the host. Keys below are expected: - cpu.user.percentage - cpu.system.percentage - cpu.idle.percentage

type FilesystemGenerator added in v0.14.0

type FilesystemGenerator struct {
}

FilesystemGenerator XXX

func (*FilesystemGenerator) Generate added in v0.14.0

func (g *FilesystemGenerator) Generate() (metrics.Values, error)

Generate XXX

type InterfaceGenerator added in v0.14.1

type InterfaceGenerator struct {
	Interval time.Duration
}

InterfaceGenerator XXX

func (*InterfaceGenerator) Generate added in v0.14.1

func (g *InterfaceGenerator) Generate() (metrics.Values, error)

Generate XXX

type Loadavg5Generator

type Loadavg5Generator struct {
}

Loadavg5Generator XXX

func (*Loadavg5Generator) Generate

func (g *Loadavg5Generator) Generate() (metrics.Values, error)

Generate XXX

type MemoryGenerator added in v0.16.0

type MemoryGenerator struct {
}

MemoryGenerator collect memory usage

`memory.{metric}`: using memory size retrieved from `vm_stat`

metric = "total", "free", "used", "cached", "active", "inactive"

graph: stacks `memory.{metric}`

func (*MemoryGenerator) Generate added in v0.16.0

func (g *MemoryGenerator) Generate() (metrics.Values, error)

Generate generate metrics values

type SwapGenerator added in v0.16.1

type SwapGenerator struct {
}

SwapGenerator collect swap usage

`memory.{metric}`: using swap size retrieved from `sysctl vm.swapusage`

metric = "swap_total", "swap_free"

graph: `memory.{metric}`

func (*SwapGenerator) Generate added in v0.16.1

func (g *SwapGenerator) Generate() (metrics.Values, error)

Generate generate swap values

Jump to

Keyboard shortcuts

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