sealed case class MetricKey[+Type] extends Product with Serializable
A MetricKey
is a unique key associated with each metric. The key is based
on a combination of the metric type, the name and tags associated with the
metric, and any other information to describe a a metric, such as the
boundaries of a histogram. In this way, it is impossible to ever create
different metrics with conflicting keys.
- Self Type
- MetricKey[Type]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricKey
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy[Type2](name: String = name, keyType: Type2 = keyType, tags: Set[MetricLabel] = tags): MetricKey[Type2]
- def description: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- MetricKey → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- MetricKey → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyType: Type
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tagged(extraTags: Set[MetricLabel]): MetricKey[Type]
Returns a new
MetricKey
with the specified tags appended. - def tagged(extraTag: MetricLabel, extraTags: MetricLabel*): MetricKey[Type]
Returns a new
MetricKey
with the specified tags appended. - def tagged(key: String, value: String): MetricKey[Type]
Returns a new
MetricKey
with the specified tag appended. - val tags: Set[MetricLabel]
- def toString(): String
- Definition Classes
- MetricKey → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()