Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_HOST = "127.0.0.1"
View Source
const ENV_K8S_NODE_IP = "K8S_NODE_IP_FOR_OBSERVATRACE"
View Source
const QUEUE_SIZE = 1 << 16
Variables ¶
This section is empty.
Functions ¶
func GetMemInuse ¶
func GetMemInuse() uint64
func NewDiskMonitor ¶
Types ¶
type ControllerIngesterShared ¶
type ControllerIngesterShared struct {
}func NewControllerIngesterShared ¶
func NewControllerIngesterShared() *ControllerIngesterShared
type Counter ¶
type Counter struct { CpuPercent float64 `statsd:"cpu-percent"` MemRSS uint64 `statsd:"mem-rss"` MemInuse uint64 `statsd:"mem-inuse"` BytesSend uint64 `statsd:"bytes-send"` BytesRecv uint64 `statsd:"bytes-recv"` BytesRead uint64 `statsd:"bytes-read"` BytesWrite uint64 `statsd:"bytes-write"` Load1 float64 `statsd:"load1"` CPUNum uint64 `statsd:"cpu-num"` }
type DiskCounter ¶
type DiskMonitor ¶
func (*DiskMonitor) GetCounter ¶
func (m *DiskMonitor) GetCounter() interface{}
func (*DiskMonitor) Stop ¶
func (m *DiskMonitor) Stop()
type Monitor ¶
func NewMonitor ¶
func (*Monitor) GetCounter ¶
func (m *Monitor) GetCounter() interface{}
func (*Monitor) GetCpuPercent ¶
Click to show internal directories.
Click to hide internal directories.