funcs

package
v0.0.0-...-9d73629 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AgentMetrics

func AgentMetrics() []*model.MetricValue

func BuildMappers

func BuildMappers()

func CounterValue

func CounterValue(metric string, val interface{}, tags ...string) *model.MetricValue

func CpuMetrics

func CpuMetrics() []*model.MetricValue

func CpuStateUpdate

func CpuStateUpdate() error

func DiskMetrics

func DiskMetrics() []*model.MetricValue

func GaugeValue

func GaugeValue(metric string, val interface{}, tags ...string) *model.MetricValue

func MemMetrics

func MemMetrics() []*model.MetricValue

func NetMetrics

func NetMetrics() []*model.MetricValue

func NewMetricValue

func NewMetricValue(metric string, val interface{}, dataType string, tags ...string) *model.MetricValue

func ProcMetrics

func ProcMetrics() (L []*model.MetricValue)

func SnmpMetrics

func SnmpMetrics() (L []*model.MetricValue)

Types

type FuncsAndInterval

type FuncsAndInterval struct {
	Fs       []func() []*model.MetricValue
	Interval int
}

Jump to

Keyboard shortcuts

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