Documentation ¶
Index ¶
Constants ¶
View Source
const LocalIp = "local_ip"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpuMemSample ¶
type CpuMemSample struct { Config model.CpuMemConfs //对应配置 // contains filtered or unexported fields }
func (*CpuMemSample) GetConfigPtr ¶
func (s *CpuMemSample) GetConfigPtr() interface{}
func (*CpuMemSample) GetMetricName ¶
func (s *CpuMemSample) GetMetricName() string
func (*CpuMemSample) SetName ¶
func (s *CpuMemSample) SetName(str string)
type CpuSample ¶
func (*CpuSample) GetConfigPtr ¶
func (s *CpuSample) GetConfigPtr() interface{}
func (*CpuSample) GetMetricName ¶
type DiskSample ¶
func (*DiskSample) GetConfigPtr ¶
func (s *DiskSample) GetConfigPtr() interface{}
func (*DiskSample) GetMetricName ¶
func (s *DiskSample) GetMetricName() string
func (*DiskSample) SetName ¶
func (s *DiskSample) SetName(str string)
type MemSample ¶
memory_used采样器结构,实现Sampler接口
func (*MemSample) GetConfigPtr ¶
func (s *MemSample) GetConfigPtr() interface{}
func (*MemSample) GetMetricName ¶
Click to show internal directories.
Click to hide internal directories.