Class SystemPollerProvider

java.lang.Object
ai.vespa.metricsproxy.service.SystemPollerProvider
All Implemented Interfaces:
com.yahoo.component.Deconstructable, com.yahoo.container.di.componentgraph.Provider<SystemPoller>

public class SystemPollerProvider extends Object implements com.yahoo.container.di.componentgraph.Provider<SystemPoller>
Author:
gjoranv
  • Constructor Details

    • SystemPollerProvider

      public SystemPollerProvider(VespaServices services, MonitoringConfig monitoringConfig)
      Parameters:
      services - The list of VespaService instances to monitor for System metrics
      monitoringConfig - The interval in seconds between each polling.
  • Method Details

    • deconstruct

      public void deconstruct()
      Specified by:
      deconstruct in interface com.yahoo.component.Deconstructable
    • get

      public SystemPoller get()
      Specified by:
      get in interface com.yahoo.container.di.componentgraph.Provider<SystemPoller>
    • runningOnLinux

      public static boolean runningOnLinux()