Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BandwidthCollector ¶
type BandwidthCollector struct {
// contains filtered or unexported fields
}
BandwidthCollector definition
func NewBandwidthCollector ¶
func NewBandwidthCollector() *BandwidthCollector
NewBandwidthCollector definition
func (*BandwidthCollector) Collect ¶
func (c *BandwidthCollector) Collect(ch chan<- prometheus.Metric)
Collect definition
func (*BandwidthCollector) Describe ¶
func (c *BandwidthCollector) Describe(ch chan<- *prometheus.Desc)
Describe definition
type BandwidthDatacentre ¶
type BandwidthDatacentre map[string]BandwidthRack
BandwidthDatacentre data structure
type BandwidthRack ¶
type BandwidthRack struct { Time string `json:"time"` In string `json:"in"` Out string `json:"out"` Networks map[string]Network }
BandwidthRack data structure
type EnvironmentCollector ¶
type EnvironmentCollector struct {
// contains filtered or unexported fields
}
EnvironmentCollector definition
func NewEnvironmentCollector ¶
func NewEnvironmentCollector() *EnvironmentCollector
NewEnvironmentCollector definition
func (*EnvironmentCollector) Collect ¶
func (c *EnvironmentCollector) Collect(ch chan<- prometheus.Metric)
Collect definition
func (*EnvironmentCollector) Describe ¶
func (c *EnvironmentCollector) Describe(ch chan<- *prometheus.Desc)
Describe definition
type EnvironmentDatacentre ¶
type EnvironmentDatacentre map[string]EnvironmentRack
EnvironmentDatacentre data structure
type EnvironmentMetrics ¶
Click to show internal directories.
Click to hide internal directories.