case class PodsMetricSource(metric: MetricIdentifier, target: MetricTarget) 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.

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(metric: MetricIdentifier, target: MetricTarget)

Value Members

  1. def getMetric: IO[K8sFailure, MetricIdentifier]

    Gets metric.

    Gets metric.

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

  2. def getTarget: IO[K8sFailure, MetricTarget]

    Gets target.

    Gets target.

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

  3. val metric: MetricIdentifier
  4. val target: MetricTarget