Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gather ¶
type Gather struct { MetricsClient metricsclient.MetricsClient PodLister corelisters.PodLister }
Gather (Pods) provides functionality for retrieving metrics for pods metric specs.
type Gatherer ¶
type Gatherer interface {
GetMetric(metricName string, namespace string, selector labels.Selector, metricSelector labels.Selector) (*Metric, error)
}
Gatherer (Pods) allows retrieval of pods metrics.
type Metric ¶
type Metric struct { PodMetricsInfo metricsclient.PodMetricsInfo ReadyPodCount int64 IgnoredPods sets.String MissingPods sets.String TotalPods int Timestamp time.Time }
Metric (Pods) is a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
Click to show internal directories.
Click to hide internal directories.