kubernetes/pkg/controller/podautoscaler/monitor/monitor.go

type ActionLabel

type ErrorLabel

const ActionLabelScaleUp

const ActionLabelScaleDown

const ActionLabelNone

const ErrorLabelSpec

const ErrorLabelInternal

const ErrorLabelNone

type Monitor

type monitor

func New() Monitor {}

// ObserveReconciliationResult observes some metrics from a reconciliation result.
func (r *monitor) ObserveReconciliationResult(action ActionLabel, err ErrorLabel, duration time.Duration) {}

// ObserveMetricComputationResult observes some metrics from a metric computation result.
func (r *monitor) ObserveMetricComputationResult(action ActionLabel, err ErrorLabel, duration time.Duration, metricType v2.MetricSourceType) {}