collector

package
v0.0.0-...-a696e1b Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: MIT Imports: 5 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 {
}

Collector implements the prometheus.Collector interface.

func NewCollector

func NewCollector() *Collector

NewCollector creates a new collector

func (Collector) Collect

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

Collect implements the prometheus.Collector interface.

func (Collector) Describe

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

Describe implements the prometheus.Collector interface.

func (*Collector) Update

func (c *Collector) Update(ch chan<- prometheus.Metric) (err error)

Update collects the metrics

Jump to

Keyboard shortcuts

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