collector

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IsiClusterCollector

type IsiClusterCollector struct {
	// contains filtered or unexported fields
}

A IsiClusterCollector implements the prometheus.Collector.

func NewIsiClusterCollector

func NewIsiClusterCollector(emcisi *isiclient.ISIClient, namespace string) (*IsiClusterCollector, error)

NewIsiClusterCollector returns an initialized Isilon Cluster Collector.

func (*IsiClusterCollector) Collect

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

Collect fetches the stats from the Isilon cluster and delivers them as Prometheus metrics. It implements prometheus.Collector.

func (*IsiClusterCollector) Describe

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

Describe describes the metrics exported from this collector.

Jump to

Keyboard shortcuts

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