collector

package
v0.0.0-...-9b8ee4a Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 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 instance

func NewHueCollector

func NewHueCollector(URL string, username string, metricsFile *metric.MetricsFile) (*Collector, error)

NewHueCollector initialization

func (*Collector) Collect

func (collector *Collector) Collect(ch chan<- prometheus.Metric)

Collect for prometheus

func (*Collector) Describe

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

Describe for prometheus

func (*Collector) Test

func (collector *Collector) Test()

Test collector metrics

Jump to

Keyboard shortcuts

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