Package com.linkedin.venice.producer
Class VeniceProducerMetrics
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.producer.VeniceProducerMetrics
-
public class VeniceProducerMetrics extends AbstractVeniceStats
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description VeniceProducerMetrics(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String storeName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordDeleteRequest()
void
recordFailedRequest()
void
recordPutRequest()
void
recordSuccessfulRequestWithLatency(long latencyMs)
void
recordUpdateRequest()
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
Method Detail
-
recordPutRequest
public void recordPutRequest()
-
recordDeleteRequest
public void recordDeleteRequest()
-
recordUpdateRequest
public void recordUpdateRequest()
-
recordSuccessfulRequestWithLatency
public void recordSuccessfulRequestWithLatency(long latencyMs)
-
recordFailedRequest
public void recordFailedRequest()
-
-