metrics

package
Version: v0.30.4 Latest Latest
Warning

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

Go to latest
Published: May 10, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentGenerator added in v0.17.0

type AgentGenerator struct {
}

AgentGenerator is generator of metrics about the runnning agent itself

func (*AgentGenerator) Generate added in v0.17.0

func (g *AgentGenerator) Generate() (Values, error)

Generate generates the memory usage of the running agent itself

type Generator

type Generator interface {
	Generate() (Values, error)
}

Generator XXX

type PluginGenerator

type PluginGenerator interface {
	Generate() (Values, error)
	PrepareGraphDefs() ([]mackerel.CreateGraphDefsPayload, error)
}

PluginGenerator XXX

func NewPluginGenerator added in v0.13.0

func NewPluginGenerator(conf config.PluginConfig) PluginGenerator

NewPluginGenerator XXX

type Values

type Values map[string]float64

Values XXX

func (*Values) Merge

func (vs *Values) Merge(other Values)

Merge XXX

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL