MetricTarget

com.coralogix.zio.k8s.model.autoscaling.v2.MetricTarget
See theMetricTarget companion object
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

Value parameters

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

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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.

Attributes

Gets averageValue.

Gets averageValue.

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

Attributes

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.

Attributes

Gets value.

Gets value.

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

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product