exporter

package
v0.0.0-...-53bcd79 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amedas

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

func NewAmedasExporter

func NewAmedasExporter(targets [][]int) *Amedas

func (*Amedas) Collect

func (a *Amedas) Collect(ch chan<- prometheus.Metric)

func (*Amedas) Describe

func (a *Amedas) Describe(ch chan<- *prometheus.Desc)

type InkBird

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

func NewInkBirdExporter

func NewInkBirdExporter(ctx context.Context, ids []string) (*InkBird, error)

func (*InkBird) Collect

func (e *InkBird) Collect(ch chan<- prometheus.Metric)

func (*InkBird) Describe

func (e *InkBird) Describe(ch chan<- *prometheus.Desc)

func (*InkBird) Shutdown

func (e *InkBird) Shutdown() error

Jump to

Keyboard shortcuts

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