collector

package
v0.0.0-...-18cf193 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 9 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 NewLuaCollector

func NewLuaCollector(metricsFile *metric.MetricsFile, URL string, username string, password string, gateway string) (*Collector, error)

NewLuaCollector initialization

func NewUpnpCollector

func NewUpnpCollector(metricsFile *metric.MetricsFile, URL string, username string, password string, gateway string) (*Collector, error)

NewUpnpCollector 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(resultFile string)

Test collector metrics

Jump to

Keyboard shortcuts

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