metric

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Index

Constants

View Source
const (
	AggregateFunctionAvg    = "_agg_avg"
	AggregateFunctionMax    = "_agg_max"
	AggregateFunctionMin    = "_agg_min"
	AggregateFunctionP99    = "_agg_p99"
	AggregateFunctionP90    = "_agg_p90"
	AggregateFunctionLatest = "_agg_latest"
)

aggregated functions that'd supported by katalyst now, and client should add those as suffix in metric-name when referring to kcmas. for instance, `pod_cpu_load_1min_agg_max` means to return a single metric item to represent the max value of all collected items, and we will put the corresponding time-window in response.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package external defines the customized metric names related-to none-k8s objects, those metrics are stored (and also can be referred) by custom metrics api-server provided by katalyst.
Package external defines the customized metric names related-to none-k8s objects, those metrics are stored (and also can be referred) by custom metrics api-server provided by katalyst.
Package node defines the customized metric names related-to k8s-node objects, those metrics are stored (and also can be referred) by custom metrics api-server provided by katalyst.
Package node defines the customized metric names related-to k8s-node objects, those metrics are stored (and also can be referred) by custom metrics api-server provided by katalyst.
Package pod defines the customized metric names related-to k8s-pod objects, those metrics are stored (and also can be referred) by custom metrics api-server provided by katalyst.
Package pod defines the customized metric names related-to k8s-pod objects, those metrics are stored (and also can be referred) by custom metrics api-server provided by katalyst.

Jump to

Keyboard shortcuts

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