Documentation ¶
Index ¶
- Variables
- func AgentMetrics() []*model.MetricValue
- func BuildMappers()
- func ContainerAliveMetrics() []*model.MetricValue
- func CoreNetMetrics(ifacePrefix []string) []*model.MetricValue
- func CpuGuest() float64
- func CpuIdle() float64
- func CpuIowait() float64
- func CpuIrq() float64
- func CpuMetrics() []*model.MetricValue
- func CpuNice() float64
- func CpuPrepared() bool
- func CpuSoftIrq() float64
- func CpuSteal() float64
- func CpuSystem() float64
- func CpuUser() float64
- func CurrentCpuSwitches() uint64
- func DeviceMetrics() (L []*model.MetricValue)
- func DiskIOMetrics() (L []*model.MetricValue)
- func IODelta(device string, f func([2]*nux.DiskStats) uint64) uint64
- func IOMsecRead(arr [2]*nux.DiskStats) uint64
- func IOMsecTotal(arr [2]*nux.DiskStats) uint64
- func IOMsecWeightedTotal(arr [2]*nux.DiskStats) uint64
- func IOMsecWrite(arr [2]*nux.DiskStats) uint64
- func IOReadMerged(arr [2]*nux.DiskStats) uint64
- func IOReadRequests(arr [2]*nux.DiskStats) uint64
- func IOReadSectors(arr [2]*nux.DiskStats) uint64
- func IOStatsMetrics() (L []*model.MetricValue)
- func IOWriteMerged(arr [2]*nux.DiskStats) uint64
- func IOWriteRequests(arr [2]*nux.DiskStats) uint64
- func IOWriteSectors(arr [2]*nux.DiskStats) uint64
- func KernelMetrics() (L []*model.MetricValue)
- func LoadAvgMetrics() []*model.MetricValue
- func MemMetrics() []*model.MetricValue
- func NetMetrics() []*model.MetricValue
- func ShouldHandleDevice(device string) bool
- func SocketStatSummaryMetrics() (L []*model.MetricValue)
- func TS(arr [2]*nux.DiskStats) uint64
- func UdpMetrics() []*model.MetricValue
- func UpdateCpuStat() error
- func UpdateDiskStats() error
- func V(metric string, val float64) *model.MetricValue
- func VT(metric string, val float64, tags map[string]string) *model.MetricValue
- type FuncsAndInterval
Constants ¶
This section is empty.
Variables ¶
View Source
var Mappers []FuncsAndInterval
Functions ¶
func AgentMetrics ¶
func AgentMetrics() []*model.MetricValue
func BuildMappers ¶
func BuildMappers()
func ContainerAliveMetrics ¶
func ContainerAliveMetrics() []*model.MetricValue
func CoreNetMetrics ¶
func CoreNetMetrics(ifacePrefix []string) []*model.MetricValue
func CpuMetrics ¶
func CpuMetrics() []*model.MetricValue
func CpuPrepared ¶
func CpuPrepared() bool
func CpuSoftIrq ¶
func CpuSoftIrq() float64
func CurrentCpuSwitches ¶
func CurrentCpuSwitches() uint64
func DeviceMetrics ¶
func DeviceMetrics() (L []*model.MetricValue)
func DiskIOMetrics ¶
func DiskIOMetrics() (L []*model.MetricValue)
func IOMsecRead ¶
func IOMsecTotal ¶
func IOMsecWeightedTotal ¶
func IOMsecWrite ¶
func IOReadMerged ¶
func IOReadRequests ¶
func IOReadSectors ¶
func IOStatsMetrics ¶
func IOStatsMetrics() (L []*model.MetricValue)
func IOWriteMerged ¶
func IOWriteRequests ¶
func IOWriteSectors ¶
func KernelMetrics ¶
func KernelMetrics() (L []*model.MetricValue)
func LoadAvgMetrics ¶
func LoadAvgMetrics() []*model.MetricValue
func MemMetrics ¶
func MemMetrics() []*model.MetricValue
func NetMetrics ¶
func NetMetrics() []*model.MetricValue
func ShouldHandleDevice ¶
func SocketStatSummaryMetrics ¶
func SocketStatSummaryMetrics() (L []*model.MetricValue)
func UdpMetrics ¶
func UdpMetrics() []*model.MetricValue
func UpdateCpuStat ¶
func UpdateCpuStat() error
func UpdateDiskStats ¶
func UpdateDiskStats() error
Types ¶
type FuncsAndInterval ¶
type FuncsAndInterval struct { Fs []func() []*model.MetricValue Interval int }
Click to show internal directories.
Click to hide internal directories.