containerCPUUsageTotalRate

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LabelMapper = struct {
		LabelSelectorKeys []string
		PrometheusLabels  []string
	}{
		LabelSelectorKeys: []string{string(metrics.LabelSelectorKeyNamespace), string(metrics.LabelSelectorKeyPodName), string(metrics.LabelSelectorKeyContainerName)},
		PrometheusLabels:  []string{labelNamespace, labelPodName, labelContainerName},
	}
)

Functions

Types

type QueryRequestFactory

type QueryRequestFactory struct {
	Query      metrics.Query
	FactoryOpt factory.QueryRequestFactoryOpt
}

func (*QueryRequestFactory) BuildServiceRequest

func (f *QueryRequestFactory) BuildServiceRequest() (interface{}, error)

Jump to

Keyboard shortcuts

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