collectors

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 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 NutCollector

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

func NewNutCollector

func NewNutCollector(opts NutCollectorOpts) (*NutCollector, error)

func (*NutCollector) Collect

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

func (*NutCollector) Describe

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

type NutCollectorOpts

type NutCollectorOpts struct {
	Namespace string
	Server    string
	Ups       string
	Username  string
	Password  string
	Variables []string
}

Jump to

Keyboard shortcuts

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