Class Metrics
- java.lang.Object
-
- com.yahoo.vespa.model.admin.monitoring.builder.Metrics
-
public class Metrics extends Object
A mutable helper class representing the user defined metrics and consumers.- Author:
- gjoranv
-
-
Constructor Summary
Constructors Constructor Description Metrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConsumer(MetricsConsumer consumer)
Map<String,MetricsConsumer>
getConsumers()
boolean
hasConsumerIgnoreCase(String id)
boolean
usesExternalMetricSystems()
Returns true if any of the consumers have specified external metric systems.
-
-
-
Method Detail
-
addConsumer
public void addConsumer(MetricsConsumer consumer)
-
getConsumers
public Map<String,MetricsConsumer> getConsumers()
-
hasConsumerIgnoreCase
public boolean hasConsumerIgnoreCase(String id)
-
usesExternalMetricSystems
public boolean usesExternalMetricSystems()
Returns true if any of the consumers have specified external metric systems.
-
-