Package ai.vespa.metricsproxy.core
Class MetricsConsumers
java.lang.Object
ai.vespa.metricsproxy.core.MetricsConsumers
Contains metrics consumers and their metrics, and mappings between these.
All collections are final and immutable.
- Author:
- gjoranv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMetricDefinitions(ConsumerId consumer) getMetricsForConsumer(ConsumerId consumerId) toUnmodifiableLinkedMap(Function<? super T, ? extends K> keyMapper, Function<? super T, ? extends U> valueMapper)
-
Constructor Details
-
MetricsConsumers
-
-
Method Details
-
getMetricDefinitions
- Parameters:
consumer- The consumer- Returns:
- The metrics for the given consumer.
-
getConsumersByMetric
-
getConsumersByMetric
-
getMetricsForConsumer
-
getAllConsumers
-
toUnmodifiableLinkedMap
-