Interface ModuleMetricEntityInterface
- All Known Implementing Classes:
BasicClientStats.BasicClientMetricEntity
,BasicConsumerStats.BasicConsumerMetricEntity
,ClientMetricEntity
,RouterMetricEntity
public interface ModuleMetricEntityInterface
Every venice Module that defines its set of
MetricEntity
should implement this interface.-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<MetricEntity>
getUniqueMetricEntities
(Class<? extends ModuleMetricEntityInterface>... enumClasses) Get all the uniqueMetricEntity
from the provided enum classes based on the metric name.
-
Method Details
-
getMetricEntity
MetricEntity getMetricEntity() -
getUniqueMetricEntities
static Collection<MetricEntity> getUniqueMetricEntities(Class<? extends ModuleMetricEntityInterface>... enumClasses) Get all the uniqueMetricEntity
from the provided enum classes based on the metric name. This will also check if there are multiple metric entities with the same name across the provided enum classes with different metric types and throw.
-