Back to godoc.org

Package common

v1.18.6
Latest Go to latest
Published: Jul 15, 2020 | License: Apache-2.0 | Module: k8s.io/kubernetes

Index

Package Files

Constants

const (
	ConsumeCPUAddress       = "/ConsumeCPU"
	ConsumeMemAddress       = "/ConsumeMem"
	BumpMetricAddress       = "/BumpMetric"
	GetCurrentStatusAddress = "/GetCurrentStatus"
	MetricsAddress          = "/metrics"

	MillicoresQuery              = "millicores"
	MegabytesQuery               = "megabytes"
	MetricNameQuery              = "metric"
	DeltaQuery                   = "delta"
	DurationSecQuery             = "durationSec"
	RequestSizeInMillicoresQuery = "requestSizeMillicores"
	RequestSizeInMegabytesQuery  = "requestSizeMegabytes"
	RequestSizeCustomMetricQuery = "requestSizeMetrics"

	BadRequest                = "Bad request. Not a POST request"
	UnknownFunction           = "unknown function"
	IncorrectFunctionArgument = "incorrect function argument"
	NotGivenFunctionArgument  = "not given function argument"

	FrameworkName = "horizontal-pod-autoscaling"
)

Constants related to Prometheus metrics.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier