metric

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregationDimensions added in v1.247349.0

type AggregationDimensions struct {
	Dimensions [][]string
}

func (*AggregationDimensions) SetDefaultDimensions added in v1.247349.0

func (config *AggregationDimensions) SetDefaultDimensions()

func (*AggregationDimensions) ToMap added in v1.247349.0

func (config *AggregationDimensions) ToMap(ctx *runtime.Context) (string, [][]string)

type AppendDimensions

type AppendDimensions struct {
	Dimensions map[string]interface{}
}

func (*AppendDimensions) SetDefaultDimensions

func (config *AppendDimensions) SetDefaultDimensions()

func (*AppendDimensions) ToMap

func (config *AppendDimensions) ToMap(ctx *runtime.Context) (string, map[string]interface{})

type Collection

type Collection struct {
	//linux
	CPU     *linux.CPU
	Disk    *linux.Disk
	DiskIO  *linux.DiskIO
	Memory  *linux.Memory
	Net     *linux.Net
	NetStat *linux.NetStat
	Swap    *linux.Swap

	//windows
	WinLogicalDisk      *windows.LogicalDisk
	WinPhysicalDisk     *windows.PhysicalDisk
	WinMemory           *windows.Memory
	WinNetworkInterface *windows.NetworkInterface
	WinProcessor        *windows.Processor
	WinTCPv4            *windows.TCPv4
	WinTCPv6            *windows.TCPv6
	WinPagingFile       *windows.PagingFile

	//statsd
	StatsD *statsd.StatsD

	//collectd linux only
	CollectD *collectd.CollectD
}

func (*Collection) EnableAll

func (config *Collection) EnableAll(ctx *runtime.Context)

func (*Collection) ToMap

func (config *Collection) ToMap(ctx *runtime.Context) (string, map[string]interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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