Documentation
¶
Index ¶
- Variables
- func AgentMetrics() []*model.MetricValue
- func BuildMappers()
- func CheckCollector()
- func CoreNetMetrics(ifacePrefix []string) []*model.MetricValue
- func CounterValue(metric string, val interface{}, tags ...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 DeviceMetrics() (L []*model.MetricValue)
- func DiskIOMetrics() (L []*model.MetricValue)
- func DuMetrics() (L []*model.MetricValue)
- func GaugeValue(metric string, val interface{}, tags ...string) *model.MetricValue
- func IOStatsForPage() (L [][]string)
- func KernelMetrics() (L []*model.MetricValue)
- func LoadAvgMetrics() []*model.MetricValue
- func MemMetrics() []*model.MetricValue
- func NetMetrics() []*model.MetricValue
- func NetstatMetrics() (L []*model.MetricValue)
- func NewMetricValue(metric string, val interface{}, dataType string, tags ...string) *model.MetricValue
- func PortMetrics() (L []*model.MetricValue)
- func ProcMetrics() (L []*model.MetricValue)
- func SocketStatSummaryMetrics() (L []*model.MetricValue)
- func UdpMetrics() []*model.MetricValue
- func UpdateCpuStat() error
- func UrlMetrics() (L []*model.MetricValue)
- type FuncsAndInterval
Constants ¶
This section is empty.
Variables ¶
View Source
var Mappers []FuncsAndInterval
View Source
var USES = map[string]struct{}{
"PruneCalled": struct{}{},
"LockDroppedIcmps": struct{}{},
"ArpFilter": struct{}{},
"TW": struct{}{},
"DelayedACKLocked": struct{}{},
"ListenOverflows": struct{}{},
"ListenDrops": struct{}{},
"TCPPrequeueDropped": struct{}{},
"TCPTSReorder": struct{}{},
"TCPDSACKUndo": struct{}{},
"TCPLoss": struct{}{},
"TCPLostRetransmit": struct{}{},
"TCPLossFailures": struct{}{},
"TCPFastRetrans": struct{}{},
"TCPTimeouts": struct{}{},
"TCPSchedulerFailed": struct{}{},
"TCPAbortOnMemory": struct{}{},
"TCPAbortOnTimeout": struct{}{},
"TCPAbortFailed": struct{}{},
"TCPMemoryPressures": struct{}{},
"TCPSpuriousRTOs": struct{}{},
"TCPBacklogDrop": struct{}{},
"TCPMinTTLDrop": struct{}{},
}
Functions ¶
func AgentMetrics ¶
func AgentMetrics() []*model.MetricValue
func BuildMappers ¶
func BuildMappers()
func CheckCollector ¶
func CheckCollector()
func CoreNetMetrics ¶
func CoreNetMetrics(ifacePrefix []string) []*model.MetricValue
func CounterValue ¶
func CounterValue(metric string, val interface{}, tags ...string) *model.MetricValue
func CpuMetrics ¶
func CpuMetrics() []*model.MetricValue
func CpuPrepared ¶
func CpuPrepared() bool
func CpuSoftIrq ¶
func CpuSoftIrq() float64
func DeviceMetrics ¶
func DeviceMetrics() (L []*model.MetricValue)
func DiskIOMetrics ¶
func DiskIOMetrics() (L []*model.MetricValue)
func DuMetrics ¶
func DuMetrics() (L []*model.MetricValue)
func GaugeValue ¶
func GaugeValue(metric string, val interface{}, tags ...string) *model.MetricValue
func IOStatsForPage ¶
func IOStatsForPage() (L [][]string)
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 NetstatMetrics ¶
func NetstatMetrics() (L []*model.MetricValue)
func NewMetricValue ¶
func NewMetricValue(metric string, val interface{}, dataType string, tags ...string) *model.MetricValue
func PortMetrics ¶
func PortMetrics() (L []*model.MetricValue)
func ProcMetrics ¶
func ProcMetrics() (L []*model.MetricValue)
func SocketStatSummaryMetrics ¶
func SocketStatSummaryMetrics() (L []*model.MetricValue)
func UdpMetrics ¶
func UdpMetrics() []*model.MetricValue
func UpdateCpuStat ¶
func UpdateCpuStat() error
func UrlMetrics ¶
func UrlMetrics() (L []*model.MetricValue)
Types ¶
type FuncsAndInterval ¶
type FuncsAndInterval struct { Fs []func() []*model.MetricValue Interval int }
Click to show internal directories.
Click to hide internal directories.