Package com.linkedin.venice.stats
Class AbstractVeniceHttpStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.stats.AbstractVeniceHttpStats
- Direct Known Subclasses:
 BasicClientStats,ClusterRouteStats.RouteStats,RouterHttpRequestStats,ServerHttpRequestStats
- 
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER - 
Constructor Summary
ConstructorsConstructorDescriptionAbstractVeniceHttpStats(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, RequestType requestType)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetFullMetricName(String metricName) protected io.tehuti.metrics.SensorregisterSensor(io.tehuti.metrics.NamedMeasurableStat... stats) protected io.tehuti.metrics.SensorregisterSensor(String sensorName, io.tehuti.metrics.MeasurableStat... stats) By default, this function will prepend the request type to the sensor name.protected io.tehuti.metrics.SensorregisterSensor(String sensorName, io.tehuti.metrics.Sensor[] parents, io.tehuti.metrics.MeasurableStat... stats) protected io.tehuti.metrics.SensorregisterSensorWithDetailedPercentiles(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.Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors 
- 
Constructor Details
- 
AbstractVeniceHttpStats
public AbstractVeniceHttpStats(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, RequestType requestType)  
 - 
 - 
Method Details
- 
getRequestType
 - 
getFullMetricName
 - 
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:
 registerSensorin classAbstractVeniceStats- Parameters:
 sensorName-stats-- Returns:
 
 - 
registerSensor
protected io.tehuti.metrics.Sensor registerSensor(String sensorName, io.tehuti.metrics.Sensor[] parents, io.tehuti.metrics.MeasurableStat... stats) - Overrides:
 registerSensorin classAbstractVeniceStats
 - 
registerSensor
protected io.tehuti.metrics.Sensor registerSensor(io.tehuti.metrics.NamedMeasurableStat... stats) - Overrides:
 registerSensorin classAbstractVeniceStats
 - 
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) 
 -