Documentation ¶
Index ¶
- type Collector
- func NewMdiskCollector() (Collector, error)
- func NewMdiskgrpCollector() (Collector, error)
- func NewNodeStatsCollector() (Collector, error)
- func NewSystemCollector() (Collector, error)
- func NewSystemStatsCollector() (Collector, error)
- func NewVolumeCollector() (Collector, error)
- func NewVolumeCopyCollector() (Collector, error)
- type SVCCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { // Describe metrics Describe(ch chan<- *prometheus.Desc) // Collect metrics Collect(client utils.SpectrumClient, ch chan<- prometheus.Metric) error }
Collector is the interface a collector has to implement.
func NewMdiskCollector ¶
func NewMdiskgrpCollector ¶
func NewNodeStatsCollector ¶
func NewSystemCollector ¶
func NewSystemStatsCollector ¶
func NewVolumeCollector ¶
func NewVolumeCopyCollector ¶
type SVCCollector ¶
type SVCCollector interface { Describe(ch chan<- *prometheus.Desc) Collect(ch chan<- prometheus.Metric) }
Click to show internal directories.
Click to hide internal directories.