collectors

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLeaseCollector added in v0.2.0

func NewLeaseCollector(namespace string, info *dhcpdleasesreader.DhcpdInfo, mux *sync.Mutex) *leaseCollector

Types

type StatCollector

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

func NewStatsCollector

func NewStatsCollector(namespace string, info *dhcpdleasesreader.DhcpdInfo, mux *sync.Mutex) *StatCollector

func (*StatCollector) Collect

func (c *StatCollector) Collect(ch chan<- prometheus.Metric)

func (*StatCollector) Describe

func (c *StatCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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