Class ServerHttpRequestStats


  • public class ServerHttpRequestStats
    extends AbstractVeniceHttpStats
    ServerHttpRequestStats contains a list of counters in order to mainly measure the performance of handling requests from Routers.
    • Constructor Detail

      • ServerHttpRequestStats

        public ServerHttpRequestStats​(io.tehuti.metrics.MetricsRepository metricsRepository,
                                      java.lang.String storeName,
                                      RequestType requestType,
                                      boolean isKeyValueProfilingEnabled,
                                      ServerHttpRequestStats totalStats,
                                      boolean isDaVinciClient)
    • Method Detail

      • recordSuccessRequest

        public void recordSuccessRequest()
      • recordErrorRequest

        public void recordErrorRequest()
      • recordSuccessRequestLatency

        public void recordSuccessRequestLatency​(double latency)
      • recordErrorRequestLatency

        public void recordErrorRequestLatency​(double latency)
      • recordDatabaseLookupLatency

        public void recordDatabaseLookupLatency​(double latency,
                                                boolean assembledMultiChunkLargeValue)
      • recordRequestKeyCount

        public void recordRequestKeyCount​(int keyCount)
      • recordSuccessRequestKeyCount

        public void recordSuccessRequestKeyCount​(int successKeyCount)
      • recordRequestSizeInBytes

        public void recordRequestSizeInBytes​(int requestSizeInBytes)
      • recordMultiChunkLargeValueCount

        public void recordMultiChunkLargeValueCount​(int multiChunkLargeValueCount)
      • recordStorageExecutionHandlerSubmissionWaitTime

        public void recordStorageExecutionHandlerSubmissionWaitTime​(double submissionWaitTime)
      • recordStorageExecutionQueueLen

        public void recordStorageExecutionQueueLen​(int len)
      • recordRequestFirstPartLatency

        public void recordRequestFirstPartLatency​(double latency)
      • recordRequestSecondPartLatency

        public void recordRequestSecondPartLatency​(double latency)
      • recordRequestPartsInvokeDelayLatency

        public void recordRequestPartsInvokeDelayLatency​(double latency)
      • recordRequestPartCount

        public void recordRequestPartCount​(int partCount)
      • recordReadComputeLatency

        public void recordReadComputeLatency​(double latency,
                                             boolean assembledMultiChunkLargeValue)
      • recordReadComputeDeserializationLatency

        public void recordReadComputeDeserializationLatency​(double latency,
                                                            boolean assembledMultiChunkLargeValue)
      • recordReadComputeSerializationLatency

        public void recordReadComputeSerializationLatency​(double latency,
                                                          boolean assembledMultiChunkLargeValue)
      • recordReadComputeEfficiency

        public void recordReadComputeEfficiency​(double efficiency)
      • recordDotProductCount

        public void recordDotProductCount​(int count)
      • recordCosineSimilarityCount

        public void recordCosineSimilarityCount​(int count)
      • recordHadamardProduct

        public void recordHadamardProduct​(int count)
      • recordCountOperator

        public void recordCountOperator​(int count)
      • recordEarlyTerminatedEarlyRequest

        public void recordEarlyTerminatedEarlyRequest()
      • recordKeySizeInByte

        public void recordKeySizeInByte​(int keySize)
      • recordValueSizeInByte

        public void recordValueSizeInByte​(int valueSize)
      • recordMisroutedStoreVersionRequest

        public void recordMisroutedStoreVersionRequest()
      • recordFlushLatency

        public void recordFlushLatency​(double latency)
      • recordResponseSize

        public void recordResponseSize​(int size)