Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoData indicates the collector found no data to collect, but had no other error. ErrNoData = errors.New("collector returned no data") )
Functions ¶
func IsNoDataError ¶
Types ¶
type CarinaCollector ¶
type CarinaCollector struct {
// contains filtered or unexported fields
}
CarinaCollector implements the prometheus.Collector interface.
func NewCarinaCollector ¶
func NewCarinaCollector(dm *deviceManager.DeviceManager, lvService *k8s.LogicVolumeService) (*CarinaCollector, error)
func (CarinaCollector) Collect ¶
func (c CarinaCollector) Collect(ch chan<- prometheus.Metric)
Collect implements the prometheus.Collector interface.
func (CarinaCollector) Describe ¶
func (c CarinaCollector) Describe(ch chan<- *prometheus.Desc)
Describe implements the prometheus.Collector interface.
Click to show internal directories.
Click to hide internal directories.