downwardmetrics

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DownwardmetricsCollectionTimeout = vms.CollectionTimeout
View Source
const DownwardmetricsRefreshDuration = 5 * time.Second

Variables

This section is empty.

Functions

func RunDownwardMetricsCollector

func RunDownwardMetricsCollector(context context.Context, nodeName string, vmiInformer cache.SharedIndexInformer, isolation isolation.PodIsolationDetector) error

Types

type Collector

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

type DownwardMetricsReporter added in v1.1.0

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

func NewReporter added in v1.1.0

func NewReporter(nodeName string) *DownwardMetricsReporter

func (*DownwardMetricsReporter) Report added in v1.1.0

func (r *DownwardMetricsReporter) Report(socketFile string) (*api.Metrics, error)

type Scraper

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

func (*Scraper) Scrape

func (s *Scraper) Scrape(socketFile string, vmi *k6sv1.VirtualMachineInstance)

type StaticHostMetrics

type StaticHostMetrics struct {
	HostName             string
	HostSystemInfo       string
	VirtualizationVendor string
}

Jump to

Keyboard shortcuts

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