Class ApplicationMetricsRetriever

java.lang.Object
com.yahoo.component.AbstractComponent
ai.vespa.metricsproxy.http.application.ApplicationMetricsRetriever
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>, Runnable

public final class ApplicationMetricsRetriever extends com.yahoo.component.AbstractComponent implements Runnable
This class retrieves metrics from all nodes in the given config, usually all nodes in a Vespa application.
Author:
gjoranv
  • Constructor Details

    • ApplicationMetricsRetriever

      @Inject public ApplicationMetricsRetriever(MetricsNodesConfig nodesConfig)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
      Overrides:
      deconstruct in class com.yahoo.component.AbstractComponent
    • getMetrics

      public Map<Node,List<MetricsPacket>> getMetrics(ConsumerId consumer)