Class InferenceMetricsCollector.ModelMetrics
- java.lang.Object
-
- com.codedstreams.otterstreams.sql.runtime.InferenceMetricsCollector.ModelMetrics
-
- Enclosing class:
- InferenceMetricsCollector
public static class InferenceMetricsCollector.ModelMetrics extends Object
Metrics for a single model.
-
-
Constructor Summary
Constructors Constructor Description ModelMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAverageLatencyMs()doublegetCacheHitRate()longgetCacheHits()longgetCacheMisses()longgetFailedInferences()longgetMaxLatencyMs()longgetMinLatencyMs()longgetSuccessfulInferences()doublegetSuccessRate()longgetTotalInferences()StringtoString()
-
-
-
Method Detail
-
getTotalInferences
public long getTotalInferences()
-
getSuccessfulInferences
public long getSuccessfulInferences()
-
getFailedInferences
public long getFailedInferences()
-
getSuccessRate
public double getSuccessRate()
-
getAverageLatencyMs
public double getAverageLatencyMs()
-
getMinLatencyMs
public long getMinLatencyMs()
-
getMaxLatencyMs
public long getMaxLatencyMs()
-
getCacheHits
public long getCacheHits()
-
getCacheMisses
public long getCacheMisses()
-
getCacheHitRate
public double getCacheHitRate()
-
-