Package com.linkedin.davinci.stats
Class RocksDBMemoryStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.davinci.stats.RocksDBMemoryStats
Class that exposes RocksDB memory consumption stats based on all properties
that are made available in https://github.com/facebook/rocksdb/blob/master/include/rocksdb/db.h#L870
Properties exist on a per RockDB database basis (equivalent to a Venice partition).
This class aggregates across the partitions and emits aggregate stats
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER -
Constructor Summary
ConstructorsConstructorDescriptionRocksDBMemoryStats(io.tehuti.metrics.MetricsRepository metricsRepository, String name, boolean plainTableEnabled, String clusterName) -
Method Summary
Modifier and TypeMethodDescriptionvoidderegisterPartition(String partitionName) voidregisterPartition(String partitionName, RocksDBStoragePartition rocksDBPartition) voidsetRMDBlockCache(org.rocksdb.Cache rmdCache, long rmdCacheCapacity) Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotal, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
RocksDBMemoryStats
-
-
Method Details
-
registerPartition
-
deregisterPartition
-
setRMDBlockCache
public void setRMDBlockCache(org.rocksdb.Cache rmdCache, long rmdCacheCapacity)
-