Package com.linkedin.venice.stats
Class VeniceJVMStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.stats.VeniceJVMStats
-
public class VeniceJVMStats extends AbstractVeniceStats
Simple class that spins JVM platform stats into Venice stats. Explanations for these stats can be got fromBufferPoolMXBean
andMemoryMxBean
-
-
Field Summary
Fields Modifier and Type Field Description io.tehuti.metrics.Sensor
directMemoryCapacity
An estimate of the total capacity of the buffers in this pool.io.tehuti.metrics.Sensor
directMemoryPoolCount
An estimate of the number of buffers in the pool.io.tehuti.metrics.Sensor
directMemoryUsage
Returns an estimate of the memory that the Java virtual machine is using for this buffer pool.io.tehuti.metrics.Sensor
heapUsage
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
Constructors Constructor Description VeniceJVMStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String name)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
directMemoryUsage
public final io.tehuti.metrics.Sensor directMemoryUsage
Returns 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 directMemoryCapacity
An 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 directMemoryPoolCount
An estimate of the number of buffers in the pool.
-
heapUsage
public final io.tehuti.metrics.Sensor heapUsage
The 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.
-
-