exporter

package
v0.15.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL