metrics

package
v0.0.0-...-c7c3596 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorCounter = prometheus.NewCounter(
	prometheus.CounterOpts{
		Name:      "scrape_errors_total",
		Namespace: "deconz",
		Help:      "Total errors during scraping metrics from deconz",
	},
)
View Source
var Sensor = prometheus.NewGaugeVec(
	prometheus.GaugeOpts{
		Name:      "sensor_state",
		Namespace: "deconz",
		Help:      "Sensor state value",
	},
	[]string{"sensor", "type", "state", "manufacturername", "modelid", "name"},
)

Functions

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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