performance

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RealTimeInterval    = 20
	FiveMinutesInterval = 300
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PerfCollector

type PerfCollector struct {
	MetricDefinition *perfMetricsIDs //These are the metrics contained in the config file once not available ones or not included in the level has been dropped
	// contains filtered or unexported fields
}

func NewCollector added in v1.1.0

func NewCollector(client *govmomi.Client, logger *logrus.Logger, perfMetricFile string, logAvailableCounters bool, collectionLevel int, batchSizePerfEntitiesString string, batchSizePerfMetricsString string) (*PerfCollector, error)

func (*PerfCollector) Collect

type PerfMetric

type PerfMetric struct {
	Value   int64
	Counter string
}

this struct is not needed we can decide to pass more info and process it in the process, it would hide logic

Jump to

Keyboard shortcuts

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