Package com.linkedin.davinci.stats
Enum Class RocksDBStatsOtelMetricEntity
java.lang.Object
java.lang.Enum<RocksDBStatsOtelMetricEntity>
com.linkedin.davinci.stats.RocksDBStatsOtelMetricEntity
- All Implemented Interfaces:
ModuleMetricEntityInterface,Serializable,Comparable<RocksDBStatsOtelMetricEntity>,Constable
public enum RocksDBStatsOtelMetricEntity
extends Enum<RocksDBStatsOtelMetricEntity>
implements ModuleMetricEntityInterface
OTel metric entity definitions for
RocksDBStats.
Per-component block cache metrics (index, filter, data, compression_dict) are consolidated
into single metrics with a VENICE_ROCKSDB_BLOCK_CACHE_COMPONENT dimension. Overall
block cache miss/hit/add counters are Tehuti-only — OTel derives totals via
sum by (component). Overall-only counters without per-component equivalents
(add failures, bytes read/write) are emitted as joint Tehuti+OTel.
Get-hit-by-level metrics are consolidated into GET_HIT_COUNT with a
VENICE_ROCKSDB_LEVEL dimension.
Block cache hit ratio is Tehuti-only (derivable from existing OTel gauge metrics).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic RocksDBStatsOtelMetricEntityReturns the enum constant of this class with the specified name.static RocksDBStatsOtelMetricEntity[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.linkedin.venice.stats.metrics.ModuleMetricEntityInterface
getMetricName
-
Enum Constant Details
-
BLOCK_CACHE_MISS_COUNT
-
BLOCK_CACHE_HIT_COUNT
-
BLOCK_CACHE_ADD_COUNT
-
BLOCK_CACHE_BYTES_INSERTED
-
BLOCK_CACHE_ADD_FAILURE_COUNT
-
BLOCK_CACHE_READ_BYTES
-
BLOCK_CACHE_WRITE_BYTES
-
BLOOM_FILTER_USEFUL_COUNT
-
MEMTABLE_HIT_COUNT
-
MEMTABLE_MISS_COUNT
-
GET_HIT_COUNT
-
COMPACTION_CANCELLED_COUNT
-
READ_AMPLIFICATION_FACTOR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMetricEntity
- Specified by:
getMetricEntityin interfaceModuleMetricEntityInterface
-