collector

package
v0.0.0-...-4c54ecc Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2017 License: BSD-3-Clause Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	IPMIBinary string
	// contains filtered or unexported fields
}

Exporter implements the prometheus.Collector interface. It exposes the metrics of a ipmi node.

func NewExporter

func NewExporter(ipmiBinary string) *Exporter

NewExporter instantiates a new ipmi Exporter.

func (*Exporter) Collect

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

Collect collects all the registered stats metrics from the ipmi node.

func (*Exporter) Describe

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

Describe describes all the registered stats metrics from the ipmi node.

Jump to

Keyboard shortcuts

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