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 ¶ added in v0.8.0
type LocalVolumeConvertMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeConvertMetricsCollector) Collect ¶ added in v0.8.0
func (mc *LocalVolumeConvertMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeConvertMetricsCollector) Describe ¶ added in v0.8.0
func (mc *LocalVolumeConvertMetricsCollector) Describe(ch chan<- *prometheus.Desc)
type LocalVolumeExpandMetricsCollector ¶ added in v0.8.0
type LocalVolumeExpandMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeExpandMetricsCollector) Collect ¶ added in v0.8.0
func (mc *LocalVolumeExpandMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeExpandMetricsCollector) Describe ¶ added in v0.8.0
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 ¶ added in v0.8.0
type LocalVolumeMigrateMetricsCollector struct {
// contains filtered or unexported fields
}
func (*LocalVolumeMigrateMetricsCollector) Collect ¶ added in v0.8.0
func (mc *LocalVolumeMigrateMetricsCollector) Collect(ch chan<- prometheus.Metric)
func (*LocalVolumeMigrateMetricsCollector) Describe ¶ added in v0.8.0
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.