prometheus

package
v0.32.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler added in v0.19.0

func Handler(MaxRequestsInFlight int) http.Handler

func NewConcurrentCollector

func NewConcurrentCollector(MaxRequestsPerKey int) *concurrentCollector

Types

type Collector

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

func SetupCollector

func SetupCollector(virtCli kubecli.KubevirtClient, virtShareDir, nodeName string, MaxRequestsInFlight int) *Collector

func (*Collector) Collect

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

Note that Collect could be called concurrently

func (*Collector) Describe

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

Jump to

Keyboard shortcuts

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