case class PodsMetricSource(metricName: String, selector: Optional[LabelSelector] = Optional.Absent, targetAverageValue: Quantity) extends Product with Serializable

PodsMetricSource indicates how to scale on 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.

metricName

metricName is the name of the metric in question

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PodsMetricSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PodsMetricSource(metricName: String, selector: Optional[LabelSelector] = Optional.Absent, targetAverageValue: Quantity)

    metricName

    metricName is the name of the metric in question

Value Members

  1. def getMetricName: IO[K8sFailure, String]

    metricName is the name of the metric in question

    metricName is the name of the metric in question

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

  2. def getSelector: IO[K8sFailure, LabelSelector]

    Gets selector.

    Gets selector.

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

  3. def getTargetAverageValue: IO[K8sFailure, Quantity]

    Gets targetAverageValue.

    Gets targetAverageValue.

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

  4. val metricName: String
  5. val selector: Optional[LabelSelector]
  6. val targetAverageValue: Quantity