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 Details

    • Metrics

      public Metrics()
  • Method Details

    • 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.