clusterhealth

package
v0.0.0-...-f845abb Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

Collector is an cluster health metrics collector

func NewCollector

func NewCollector(esClient elasticsearch.Client) *Collector

NewCollector returns new cluster health collector

func (*Collector) Collect

func (c *Collector) Collect(clusterName string, ch chan<- prometheus.Metric)

Collect writes data to metrics channel

func (*Collector) Describe

func (c *Collector) Describe(ch chan<- *prometheus.Desc)

Describe implements prometheus.Collector interface

Jump to

Keyboard shortcuts

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