Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SystemInfoFields = [...]string{
"CPUUtilization",
"PhysicalMemory",
"MemoryUtilization",
"PhysicalFlash",
"AvailableFlash",
}
View Source
var TrafficCollectorFields = [...]string{
"TodayConnectionTime",
"TodayDownload",
"TodayUpload",
"YesterdayConnectionTime",
"YesterdayDownload",
"YesterdayUpload",
"WeekConnectionTime",
"WeekDownload",
"WeekDownloadAverage",
"WeekUpload",
"WeekUploadAverage",
"MonthConnectionTime",
"MonthDownload",
"MonthDownloadAverage",
"MonthUpload",
"MonthUploadAverage",
"LastMonthConnectionTime",
"LastMonthDownload",
"LastMonthDownloadAverage",
"LastMonthUpload",
"LastMonthUploadAverage",
}
Functions ¶
This section is empty.
Types ¶
type ClientCollector ¶
type ClientCollector struct {
// contains filtered or unexported fields
}
func NewClientCollector ¶
func NewClientCollector(namespace string, client *netgear_client.NetgearClient) *ClientCollector
func (*ClientCollector) Collect ¶
func (c *ClientCollector) Collect(ch chan<- prometheus.Metric)
func (*ClientCollector) Describe ¶
func (c *ClientCollector) Describe(ch chan<- *prometheus.Desc)
type SystemInfo ¶
type SystemInfo struct {
// contains filtered or unexported fields
}
func NewSystemInfoCollector ¶
func NewSystemInfoCollector(namespace string, client *netgear_client.NetgearClient) *SystemInfo
func (*SystemInfo) Collect ¶
func (c *SystemInfo) Collect(ch chan<- prometheus.Metric)
func (*SystemInfo) Describe ¶
func (c *SystemInfo) Describe(ch chan<- *prometheus.Desc)
type TrafficCollector ¶
type TrafficCollector struct {
// contains filtered or unexported fields
}
func NewTrafficCollector ¶
func NewTrafficCollector(namespace string, client *netgear_client.NetgearClient) *TrafficCollector
func (*TrafficCollector) Collect ¶
func (c *TrafficCollector) Collect(ch chan<- prometheus.Metric)
func (*TrafficCollector) Describe ¶
func (c *TrafficCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.