Package com.linkedin.venice.stats
Class TehutiUtils.SimpleRatioStat
- java.lang.Object
-
- io.tehuti.metrics.stats.AsyncGauge
-
- com.linkedin.venice.stats.LambdaStat
-
- com.linkedin.venice.stats.TehutiUtils.SimpleRatioStat
-
- All Implemented Interfaces:
io.tehuti.metrics.Measurable
,io.tehuti.metrics.MeasurableStat
,io.tehuti.metrics.NamedMeasurableStat
,io.tehuti.metrics.Stat
- Enclosing class:
- TehutiUtils
public static class TehutiUtils.SimpleRatioStat extends LambdaStat
Generate a ratio stat that is based on two arbitraryMeasurableStat
. It calculates the proportion of numerator stat over the denominator stat.
-
-
Constructor Summary
Constructors Constructor Description SimpleRatioStat(io.tehuti.metrics.stats.Rate numeratorStat, io.tehuti.metrics.stats.Rate denominatorStat, java.lang.String metricName)
-