metric

package
v0.0.0-...-5f55900 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 19 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     `json:"realtime"`
	Historical bool     `json:"historical"`
	Instance   []string `json:"instance"`
}

type MetricInfo

type MetricInfo struct {
	Counter          *types.PerfCounterInfo `json:"counter"`
	Enabled          []string               `json:"enabled"`
	PerDeviceEnabled []string               `json:"perDeviceEnabled"`
	Detail           *EntityDetail          `json:"detail"`
}

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