metric

package
v0.0.0-...-29a6359 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityDetail

type EntityDetail struct {
	Realtime   bool
	Historical bool
	Instance   []string
}

type MetricInfo

type MetricInfo struct {
	Counter          *types.PerfCounterInfo
	Enabled          []string
	PerDeviceEnabled []string
	Detail           *EntityDetail
}

type PerformanceFlag

type PerformanceFlag struct {
	*flags.DatacenterFlag
	*flags.OutputFlag
	// contains filtered or unexported fields
}

func NewPerformanceFlag

func NewPerformanceFlag(ctx context.Context) (*PerformanceFlag, context.Context)

func (*PerformanceFlag) ErrNotFound

func (f *PerformanceFlag) ErrNotFound(name string) error

func (*PerformanceFlag) Interval

func (f *PerformanceFlag) Interval(val int32) int32

func (*PerformanceFlag) Manager

func (*PerformanceFlag) Process

func (f *PerformanceFlag) Process(ctx context.Context) error

func (*PerformanceFlag) Register

func (f *PerformanceFlag) Register(ctx context.Context, fs *flag.FlagSet)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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