final case class Metric extends MetricNumericConverter with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Metric
- Serializable
- Product
- Equals
- MetricNumericConverter
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def :+(latest: Metric): Metric
Updates the data point, and if defined, updates the data stream (average).
Updates the data point, and if defined, updates the data stream (average). Returns the updated metric.
- val average: [EWMA]
- def convertNumber(from: Any): Either[, Double]
May involve rounding or truncation.
May involve rounding or truncation.
- Definition Classes
- MetricNumericConverter
- def defined(value: Number): Boolean
An defined value is neither negative nor NaN/Infinite:
An defined value is neither negative nor NaN/Infinite:
- JMX system load average and max heap can be 'undefined' for certain OS, in which case a -1 is returned
- SIGAR combined CPU can occasionally return a NaN or Infinite (known bug)
- Definition Classes
- MetricNumericConverter
- def equals(obj: Any): Boolean
- Definition Classes
- Metric → Equals → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- Metric → AnyRef → Any
- def isSmooth: Boolean
- returns
true if this value is smoothed
- val name: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def sameAs(that: Metric): Boolean
Returns true if
that
is tracking the same metric as this. - def smoothValue: Double
The numerical value of the average, if defined, otherwise the latest value
- val value: Number
Metrics key/value.
Equality of Metric is based on its name.