Package com.linkedin.venice.stats
Class VeniceJVMStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.stats.VeniceJVMStats
Simple class that spins JVM platform stats into Venice stats. Explanations for these
stats can be got from
BufferPoolMXBean
and MemoryMxBean
-
Field Summary
Modifier and TypeFieldDescriptionfinal io.tehuti.metrics.Sensor
An estimate of the total capacity of the buffers in this pool.final io.tehuti.metrics.Sensor
An estimate of the number of buffers in the pool.final io.tehuti.metrics.Sensor
Returns an estimate of the memory that the Java virtual machine is using for this buffer pool.final io.tehuti.metrics.Sensor
The current memory usage of the heap that is used for object allocation.Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionVeniceJVMStats
(io.tehuti.metrics.MetricsRepository metricsRepository, String name) -
Method Summary
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Field Details
-
directMemoryUsage
public final io.tehuti.metrics.Sensor directMemoryUsageReturns an estimate of the memory that the Java virtual machine is using for this buffer pool. The value returned by this method may differ from the estimate of the total capacity of the buffers in this pool due to implementation. -
directMemoryCapacity
public final io.tehuti.metrics.Sensor directMemoryCapacityAn estimate of the total capacity of the buffers in this pool. A buffer's capacity is the number of elements it contains and the value returned by this method is an estimate of the total capacity of buffers in the pool in bytes. -
directMemoryPoolCount
public final io.tehuti.metrics.Sensor directMemoryPoolCountAn estimate of the number of buffers in the pool. -
heapUsage
public final io.tehuti.metrics.Sensor heapUsageThe current memory usage of the heap that is used for object allocation. The amount of used memory in the returned memory usage is the amount of memory occupied by both live objects and garbage objects that have not been collected, if any.
-
-
Constructor Details
-
VeniceJVMStats
-