Class MetricEntity
- java.lang.Object
-
- com.linkedin.venice.stats.metrics.MetricEntity
-
public class MetricEntity extends java.lang.Object
Metric entity class to define a metric with all its properties
-
-
Constructor Summary
Constructors Constructor Description MetricEntity(java.lang.String metricName, MetricType metricType, MetricUnit unit, java.lang.String description)
MetricEntity(java.lang.String metricName, MetricType metricType, MetricUnit unit, java.lang.String description, java.util.Set<VeniceMetricsDimensions> dimensionsList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.util.Set<VeniceMetricsDimensions>
getDimensionsList()
java.lang.String
getMetricName()
MetricType
getMetricType()
MetricUnit
getUnit()
-
-
-
Constructor Detail
-
MetricEntity
public MetricEntity(@Nonnull java.lang.String metricName, @Nonnull MetricType metricType, @Nonnull MetricUnit unit, @Nonnull java.lang.String description)
-
MetricEntity
public MetricEntity(@Nonnull java.lang.String metricName, @Nonnull MetricType metricType, @Nonnull MetricUnit unit, @Nonnull java.lang.String description, @Nullable java.util.Set<VeniceMetricsDimensions> dimensionsList)
-
-
Method Detail
-
getMetricName
@Nonnull public java.lang.String getMetricName()
-
getMetricType
@Nonnull public MetricType getMetricType()
-
getUnit
@Nonnull public MetricUnit getUnit()
-
getDescription
@Nonnull public java.lang.String getDescription()
-
getDimensionsList
@Nullable public java.util.Set<VeniceMetricsDimensions> getDimensionsList()
-
-