Documentation ¶
Index ¶
- Constants
- func NewSMARTCollector() prometheus.Collector
- type CollectorManager
- type LocalDiskMetricsCollector
- type LocalStorageNodeMetricsCollector
- type LocalVolumeConvertMetricsCollector
- type LocalVolumeExpandMetricsCollector
- type LocalVolumeMetricsCollector
- type LocalVolumeMigrateMetricsCollector
- type LocalVolumeReplicaMetricsCollector
- type SMARTCollector
Constants ¶
View Source
const ( VolumeTypeNonHA = "NonHA" VolumeTypeConvertible = "Convertible" VolumeTypeHA = "HA" )
Variables ¶
This section is empty.
Functions ¶
func NewSMARTCollector ¶
func NewSMARTCollector() prometheus.Collector
NewSMARTCollector collector SMART metrics by smartctl
Types ¶
type CollectorManager ¶
type CollectorManager struct {
// contains filtered or unexported fields
}
func NewCollectorManager ¶
func NewCollectorManager() *CollectorManager
func (*CollectorManager) Run ¶
func (mc *CollectorManager) Run(stopCh <-chan struct{})
type LocalDiskMetricsCollector ¶
type LocalDiskMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalDiskMetricsCollector) Collect ¶
func (mc *LocalDiskMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalDiskMetricsCollector) Describe ¶
func (mc *LocalDiskMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalStorageNodeMetricsCollector ¶
type LocalStorageNodeMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalStorageNodeMetricsCollector) Collect ¶
func (mc *LocalStorageNodeMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalStorageNodeMetricsCollector) Describe ¶
func (mc *LocalStorageNodeMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalVolumeConvertMetricsCollector ¶
type LocalVolumeConvertMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeConvertMetricsCollector) Collect ¶
func (mc *LocalVolumeConvertMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeConvertMetricsCollector) Describe ¶
func (mc *LocalVolumeConvertMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalVolumeExpandMetricsCollector ¶
type LocalVolumeExpandMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeExpandMetricsCollector) Collect ¶
func (mc *LocalVolumeExpandMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeExpandMetricsCollector) Describe ¶
func (mc *LocalVolumeExpandMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalVolumeMetricsCollector ¶
type LocalVolumeMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeMetricsCollector) Collect ¶
func (mc *LocalVolumeMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeMetricsCollector) Describe ¶
func (mc *LocalVolumeMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalVolumeMigrateMetricsCollector ¶
type LocalVolumeMigrateMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeMigrateMetricsCollector) Collect ¶
func (mc *LocalVolumeMigrateMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeMigrateMetricsCollector) Describe ¶
func (mc *LocalVolumeMigrateMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalVolumeReplicaMetricsCollector ¶
type LocalVolumeReplicaMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeReplicaMetricsCollector) Collect ¶
func (mc *LocalVolumeReplicaMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeReplicaMetricsCollector) Describe ¶
func (mc *LocalVolumeReplicaMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type SMARTCollector ¶
type SMARTCollector struct {
// contains filtered or unexported fields
}
func (*SMARTCollector) Collect ¶
func (sc *SMARTCollector) Collect(ch chan<- prometheus.Metric)
func (*SMARTCollector) Describe ¶
func (sc *SMARTCollector) Describe(ch chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.