Class HealthMonitoringMetaData

java.lang.Object
com.kingsrook.qqq.backend.core.health.HealthMonitoringMetaData
All Implemented Interfaces:
MetaDataProducerOutput, QMetaDataObject, QSupplementalInstanceMetaData, TopLevelMetaDataInterface, Serializable

public class HealthMonitoringMetaData extends Object implements QSupplementalInstanceMetaData
HealthMonitoringMetaData
See Also:
  • Field Details

  • Constructor Details

    • HealthMonitoringMetaData

      public HealthMonitoringMetaData()
  • Method Details

    • ofOrWithNew

      public static HealthMonitoringMetaData ofOrWithNew(QInstance qInstance)
      Get or install monitoring configuration.
    • getName

      public String getName()
      Supplemental metadata name.
      Specified by:
      getName in interface TopLevelMetaDataInterface
    • validate

      public void validate(QInstance qInstance, QInstanceValidator validator)
      Reject unsafe scheduling and storage configuration before startup.
      Specified by:
      validate in interface QSupplementalInstanceMetaData
    • getBackendName

      public String getBackendName()
      Getter for backendName
    • setBackendName

      public void setBackendName(String backendName)
      Setter for backendName
    • withBackendName

      public HealthMonitoringMetaData withBackendName(String backendName)
      Fluent setter for backendName
    • getRunnerEnabled

      public boolean getRunnerEnabled()
      Getter for runnerEnabled
    • setRunnerEnabled

      public void setRunnerEnabled(boolean runnerEnabled)
      Setter for runnerEnabled
    • withRunnerEnabled

      public HealthMonitoringMetaData withRunnerEnabled(boolean runnerEnabled)
      Fluent setter for runnerEnabled
    • getTickSeconds

      public int getTickSeconds()
      Getter for tickSeconds
    • setTickSeconds

      public void setTickSeconds(int tickSeconds)
      Setter for tickSeconds
    • withTickSeconds

      public HealthMonitoringMetaData withTickSeconds(int tickSeconds)
      Fluent setter for tickSeconds
    • getMaxConcurrentChecks

      public int getMaxConcurrentChecks()
      Getter for maxConcurrentChecks
    • setMaxConcurrentChecks

      public void setMaxConcurrentChecks(int maxConcurrentChecks)
      Setter for maxConcurrentChecks
    • withMaxConcurrentChecks

      public HealthMonitoringMetaData withMaxConcurrentChecks(int maxConcurrentChecks)
      Fluent setter for maxConcurrentChecks
    • getResultRetentionDays

      public int getResultRetentionDays()
      Getter for resultRetentionDays
    • setResultRetentionDays

      public void setResultRetentionDays(int resultRetentionDays)
      Setter for resultRetentionDays
    • withResultRetentionDays

      public HealthMonitoringMetaData withResultRetentionDays(int resultRetentionDays)
      Fluent setter for resultRetentionDays
    • getPrometheusEnabled

      public boolean getPrometheusEnabled()
      Getter for prometheusEnabled
    • setPrometheusEnabled

      public void setPrometheusEnabled(boolean prometheusEnabled)
      Setter for prometheusEnabled
    • withPrometheusEnabled

      public HealthMonitoringMetaData withPrometheusEnabled(boolean prometheusEnabled)
      Fluent setter for prometheusEnabled
    • getRunnerUserName

      public String getRunnerUserName()
      Getter for runnerUserName
    • setRunnerUserName

      public void setRunnerUserName(String runnerUserName)
      Setter for runnerUserName
    • withRunnerUserName

      public HealthMonitoringMetaData withRunnerUserName(String runnerUserName)
      Fluent setter for runnerUserName
    • getHomePath

      public String getHomePath()
      Getter for homePath: the UI path alerts link to (default /systemHealth; hosts that place the health table elsewhere, e.g. under Admin, set it).
    • setHomePath

      public void setHomePath(String homePath)
      Setter for homePath
    • withHomePath

      public HealthMonitoringMetaData withHomePath(String homePath)
      Fluent setter for homePath