Documentation ¶
Overview ¶
Package podmetrics contains models for an individual pod's metrics 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 { Timestamp time.Time `json:"timestamp"` Window time.Duration `json:"window"` Value int64 `json:"value"` }
Metric contains pod metric value (the metric values are expected to be the metric as a milli-value)
type MetricsInfo ¶
MetricsInfo contains pod metrics as a map from pod names to MetricsInfo
Click to show internal directories.
Click to hide internal directories.