case class MetricIdentifier(name: String, selector: Optional[LabelSelector] = Optional.Absent) extends Product with Serializable

MetricIdentifier defines the name and optionally selector for a metric

name

name is the name of the given metric

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricIdentifier
  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 MetricIdentifier(name: String, selector: Optional[LabelSelector] = Optional.Absent)

    name

    name is the name of the given metric

Value Members

  1. def getName: IO[K8sFailure, String]

    name is the name of the given metric

    name is the name of the given metric

    This effect always succeeds, it is safe to use the field name 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. val name: String
  4. val selector: Optional[LabelSelector]