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
ConstructorDescriptionAbstractVeniceHttpStats
(io.tehuti.metrics.MetricsRepository metricsRepository, String storeName, RequestType requestType) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getFullMetricName
(String metricName) protected RequestType
protected io.tehuti.metrics.Sensor
registerSensor
(io.tehuti.metrics.NamedMeasurableStat... stats) 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.protected io.tehuti.metrics.Sensor
registerSensor
(String sensorName, io.tehuti.metrics.Sensor[] parents, io.tehuti.metrics.MeasurableStat... stats) 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.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:
registerSensor
in 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:
registerSensor
in classAbstractVeniceStats
-
registerSensor
protected io.tehuti.metrics.Sensor registerSensor(io.tehuti.metrics.NamedMeasurableStat... stats) - Overrides:
registerSensor
in 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)
-