Class BasicClientStats

Direct Known Subclasses:
ClientStats

public class BasicClientStats extends AbstractVeniceHttpStats
This class offers very basic metrics for client, and right now, it is directly used by DaVinci.
  • Constructor Details

    • BasicClientStats

      protected BasicClientStats(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, RequestType requestType)
  • Method Details

    • getClientStats

      public static BasicClientStats getClientStats(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, RequestType requestType, ClientConfig clientConfig)
    • recordHealthyRequest

      public void recordHealthyRequest()
    • recordUnhealthyRequest

      public void recordUnhealthyRequest()
    • recordHealthyLatency

      public void recordHealthyLatency(double latency)
    • recordRequestKeyCount

      public void recordRequestKeyCount(int keyCount)
    • recordSuccessRequestKeyCount

      public void recordSuccessRequestKeyCount(int successKeyCount)
    • getRequestRate

      protected final io.tehuti.metrics.stats.Rate getRequestRate()
    • getSuccessRequestKeyCountRate

      protected final io.tehuti.metrics.stats.Rate getSuccessRequestKeyCountRate()