pods

package
v4.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL