Documentation ¶
Index ¶
Constants ¶
View Source
const CLOCKS_PER_SEC = float64(100)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type Disks ¶
type Disks struct {
// contains filtered or unexported fields
}
func (*Disks) BlockDevices ¶
func (*Disks) GetParentBlockDevice ¶
type MemoryStat ¶
type NetDeviceInfo ¶
type NetDeviceInfo struct { Name string Up float64 IPPrefixes []netaddr.IPPrefix RxBytes float64 TxBytes float64 RxPackets float64 TxPackets float64 }
func NetDevices ¶ added in v1.11.1
func NetDevices() ([]NetDeviceInfo, error)
Click to show internal directories.
Click to hide internal directories.