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 tasks metrics collector
func NewCollector ¶
func NewCollector(esClient elasticsearch.Client) *Collector
NewCollector returns new nodes metrics 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
Click to show internal directories.
Click to hide internal directories.