MetricTarget

case class MetricTarget(averageUtilization: Optional[Int], averageValue: Optional[Quantity], `type`: String, value: Optional[Quantity])

MetricTarget defines the target value, average value, or average utilization of a specific metric

MetricTarget defines the target value, average value, or average utilization of a specific metric

Value Params
averageUtilization

averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type

type

type represents whether the metric type is Utilization, Value, or AverageValue

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type

averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets averageValue.

Gets averageValue.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getType: IO[K8sFailure, String]

type represents whether the metric type is Utilization, Value, or AverageValue

type represents whether the metric type is Utilization, Value, or AverageValue

This effect always succeeds, it is safe to use the field type directly.

Gets value.

Gets value.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product