Documentation ¶
Index ¶
- Constants
- func DecrementCRDTotal(crdType, namespace string)
- func DecrementTriggerTotal(triggerType string)
- func IncrementCRDTotal(crdType, namespace string)
- func IncrementTriggerTotal(triggerType string)
- func RecordBuildInfo()
- func RecordScalableObjectLatency(namespace string, name string, isScaledObject bool, value float64)
- func RecordScaledObjectError(namespace string, scaledObject string, err error)
- func RecordScalerActive(namespace string, scaledObject string, scaler string, scalerIndex int, ...)
- func RecordScalerError(namespace string, scaledObject string, scaler string, scalerIndex int, ...)
- func RecordScalerLatency(namespace string, scaledObject string, scaler string, scalerIndex int, ...)
- func RecordScalerMetric(namespace string, scaledObject string, scaler string, scalerIndex int, ...)
Constants ¶
View Source
const ( ClusterTriggerAuthenticationResource = "cluster_trigger_authentication" TriggerAuthenticationResource = "trigger_authentication" ScaledObjectResource = "scaled_object" ScaledJobResource = "scaled_job" DefaultPromMetricsNamespace = "keda" )
Variables ¶
This section is empty.
Functions ¶
func DecrementCRDTotal ¶
func DecrementCRDTotal(crdType, namespace string)
func DecrementTriggerTotal ¶
func DecrementTriggerTotal(triggerType string)
func IncrementCRDTotal ¶
func IncrementCRDTotal(crdType, namespace string)
func IncrementTriggerTotal ¶
func IncrementTriggerTotal(triggerType string)
func RecordBuildInfo ¶ added in v2.11.0
func RecordBuildInfo()
RecordBuildInfo publishes information about KEDA version and runtime info through an info metric (gauge).
func RecordScalableObjectLatency ¶ added in v2.11.0
RecordScaledObjectLatency create a measurement of the latency executing scalable object loop
func RecordScaledObjectError ¶
RecordScaleObjectError counts the number of errors with the scaled object
func RecordScalerActive ¶ added in v2.10.0
func RecordScalerActive(namespace string, scaledObject string, scaler string, scalerIndex int, metric string, active bool)
RecordScalerActive create a measurement of the activity of the scaler
func RecordScalerError ¶
func RecordScalerError(namespace string, scaledObject string, scaler string, scalerIndex int, metric string, err error)
RecordScalerError counts the number of errors occurred in trying get an external metric used by the HPA
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.