downwardmetrics

package
v1.4.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const DownwardmetricsCollectionTimeout = collector.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) Complete added in v1.3.0

func (s *Scraper) Complete()

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