Documentation ¶
Index ¶
- Variables
- func AgentMetrics() []*model.MetricValue
- func BuildMappers()
- func CounterValue(metric string, val interface{}, tags ...string) *model.MetricValue
- func CpuMetrics() []*model.MetricValue
- func CpuStateUpdate() error
- func DiskMetrics() []*model.MetricValue
- func GaugeValue(metric string, val interface{}, tags ...string) *model.MetricValue
- func MemMetrics() []*model.MetricValue
- func NetMetrics() []*model.MetricValue
- func NewMetricValue(metric string, val interface{}, dataType string, tags ...string) *model.MetricValue
- func ProcMetrics() (L []*model.MetricValue)
- func SnmpMetrics() (L []*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 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 }
Click to show internal directories.
Click to hide internal directories.