prometheus

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 14 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 NewPrometheusScraper added in v0.45.0

func NewPrometheusScraper(ch chan<- prometheus.Metric) *prometheusScraper

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