Class AbstractVeniceHttpStats

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.stats.AbstractVeniceHttpStats
Direct Known Subclasses:
BasicClientStats, ClusterRouteStats.RouteStats, RouterHttpRequestStats, ServerHttpRequestStats

public abstract class AbstractVeniceHttpStats extends AbstractVeniceStats
  • Constructor Details

    • AbstractVeniceHttpStats

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

    • getRequestType

      protected RequestType getRequestType()
    • getFullMetricName

      protected String getFullMetricName(String metricName)
    • registerSensor

      protected io.tehuti.metrics.Sensor registerSensor(String sensorName, io.tehuti.metrics.MeasurableStat... stats)
      By default, this function will prepend the request type to the sensor name.
      Overrides:
      registerSensor in class AbstractVeniceStats
      Parameters:
      sensorName -
      stats -
      Returns:
    • registerSensor

      protected io.tehuti.metrics.Sensor registerSensor(String sensorName, io.tehuti.metrics.Sensor[] parents, io.tehuti.metrics.MeasurableStat... stats)
      Overrides:
      registerSensor in class AbstractVeniceStats
    • registerSensor

      protected io.tehuti.metrics.Sensor registerSensor(io.tehuti.metrics.NamedMeasurableStat... stats)
      Overrides:
      registerSensor in class AbstractVeniceStats
    • registerSensorWithDetailedPercentiles

      protected io.tehuti.metrics.Sensor registerSensorWithDetailedPercentiles(String sensorName, io.tehuti.metrics.MeasurableStat... stats)
      By default, this function will prepend the request type to the sensor name, and register percentiles with the same name. TODO: Make all uses of percentiles do this, instead of calling directly : TehutiUtils.getPercentileStatForNetworkLatency(String, String)