Package com.linkedin.venice.stats.metrics
package com.linkedin.venice.stats.metrics
-
ClassDescriptionMetric entity class to define a metric with all its propertiesAbstract operational state of a metric which should be extended by different MetricEntityStates to pre-create/cache the
Attributes
for different number/type of dimensions.create the metrics/SensorsThis version ofMetricEntityState
is used when the metric entity has no dynamic dimensions.Provides a flexible, generic, and non-caching implementation ofMetricEntityState
for one or more dynamic dimensions, where the dimensions can be enums or arbitrary strings and do not need to be cached: This implementation should be used only in certain control-path components (such as controllers) where: 1.This version ofMetricEntityState
is used when the metric entity has one dynamic dimension which is anEnum
implementingVeniceDimensionInterface
.MetricEntityStateThreeEnums<E1 extends Enum<E1> & VeniceDimensionInterface,E2 extends Enum<E2> & VeniceDimensionInterface, E3 extends Enum<E3> & VeniceDimensionInterface> Similar toMetricEntityStateOneEnum
but with three dynamic dimensions and 3 level EnumMapMetricEntityStateTwoEnums<E1 extends Enum<E1> & VeniceDimensionInterface,E2 extends Enum<E2> & VeniceDimensionInterface> Similar toMetricEntityStateOneEnum
but with two dynamic dimensions and 2 level EnumMapMetric type enum to define the type of metrics Venice supports via OpenTelemetryMetric Unit enum to define list of Units supported for metricsEvery venice Module that defines its set ofMetricEntity
should implement this interface.Interface for creating metric names enum for tehuti metrics