Documentation ¶
Overview ¶
Package pods contains models for metrics relating to a set of pods as returned by the K8s metrics APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct { PodMetricsInfo podmetrics.MetricsInfo `json:"podMetricsInfo"` ReadyPodCount int64 `json:"readyPodCount"` IgnoredPods sets.String `json:"ignoredPods"` MissingPods sets.String `json:"missingPods"` TotalPods int `json:"totalPods"` Timestamp time.Time `json:"timestamp,omitempty"` }
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.