collector

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 17 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 interface {
	// contains filtered or unexported methods
}

func NewCndevCollector

func NewCndevCollector(m collectorMetrics, host string) Collector

func NewCnpapiCollector added in v1.5.2

func NewCnpapiCollector(m collectorMetrics, host string) Collector

func NewHostCollector added in v1.5.2

func NewHostCollector(m collectorMetrics, h string) Collector

func NewPodResourcesCollector

func NewPodResourcesCollector(m collectorMetrics, host string) Collector

type Collectors

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

func NewCollectors

func NewCollectors(host string, config string, enabled []string, prefix string) *Collectors

func (*Collectors) Collect

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

func (*Collectors) Describe

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

Jump to

Keyboard shortcuts

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