common

package
v1.31.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 0 Imported by: 62

Documentation

Index

Constants

View Source
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"
)

Constants related to Prometheus metrics.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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