Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPU ¶
type CPU struct { User float64 `json:"user"` System float64 `json:"system"` Idle float64 `json:"idle"` }
CPU struct
type CPUStat ¶
type CPUStat struct { Disk Disk `json:"disk"` CPU CPU `json:"cpu"` LoadAverage LoadAverage `json:"loadAverage"` TimeStamp time.Time `json:"timeStamp"` }
CPUStat struct
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector struct
type Disk ¶
type Disk struct { KBPerTime float64 `json:"kbPerTime"` TPS float64 `json:"tps"` MBPerSecond float64 `json:"mbPerSecond"` }
Disk struct
type IOWriterSender ¶
IOWriterSender struct you can create your own implementation
func (IOWriterSender) Send ¶
func (sender IOWriterSender) Send(line []byte) error
type LoadAverage ¶
type LoadAverage struct { OneMinute float64 `json:"oneMinute"` FiveMinute float64 `json:"fiveMinute"` FifteenMinute float64 `json:"fifteenMinute"` }
LoadAverage struct
Click to show internal directories.
Click to hide internal directories.