Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCollector ¶
type BaseCollector struct {
// contains filtered or unexported fields
}
func (*BaseCollector) LogSmartctlExitCode ¶
func (c *BaseCollector) LogSmartctlExitCode(exitCode int)
http://www.linuxguide.it/command_line/linux-manpage/do.php?file=smartctl#sect7
type MetricsCollector ¶
type MetricsCollector struct { BaseCollector // contains filtered or unexported fields }
func CreateMetricsCollector ¶
func (*MetricsCollector) Collect ¶
func (mc *MetricsCollector) Collect(deviceWWN string, deviceName string, deviceType string)
func (mc *MetricsCollector) Collect(wg *sync.WaitGroup, deviceWWN string, deviceName string, deviceType string) {
func (*MetricsCollector) Publish ¶
func (mc *MetricsCollector) Publish(deviceWWN string, payload []byte) error
func (*MetricsCollector) Run ¶
func (mc *MetricsCollector) Run() error
func (*MetricsCollector) Validate ¶
func (mc *MetricsCollector) Validate() error
type SelfTestCollector ¶
type SelfTestCollector struct { BaseCollector // contains filtered or unexported fields }
func CreateSelfTestCollector ¶
func CreateSelfTestCollector(logger *logrus.Entry, apiEndpoint string) (SelfTestCollector, error)
func (*SelfTestCollector) Run ¶
func (sc *SelfTestCollector) Run() error
Click to show internal directories.
Click to hide internal directories.