Documentation ¶
Index ¶
Constants ¶
View Source
const QUEUE_SIZE = 1 << 16
Variables ¶
This section is empty.
Functions ¶
func GetMemInuse ¶
func GetMemInuse() uint64
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 Monitor ¶
func NewMonitor ¶
func (*Monitor) GetCounter ¶
func (m *Monitor) GetCounter() interface{}
func (*Monitor) GetCpuPercent ¶
Click to show internal directories.
Click to hide internal directories.