prometheus

package
v0.44.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const PrometheusCollectionTimeout = vms.CollectionTimeout

Variables

This section is empty.

Functions

func Handler

func Handler(MaxRequestsInFlight int) http.Handler

func RegisterFakeCollector

func RegisterFakeCollector()

Types

type DomainStatsCollector

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

func SetupDomainStatsCollector

func SetupDomainStatsCollector(virtCli kubecli.KubevirtClient, virtShareDir, nodeName string, MaxRequestsInFlight int, vmiInformer cache.SharedIndexInformer) *DomainStatsCollector

aggregates to virt-launcher

func (*DomainStatsCollector) Collect

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

Note that Collect could be called concurrently

func (*DomainStatsCollector) Describe

func (co *DomainStatsCollector) Describe(_ chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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