Class HealthMonitoringMetaData
java.lang.Object
com.kingsrook.qqq.backend.core.health.HealthMonitoringMetaData
- All Implemented Interfaces:
MetaDataProducerOutput,QMetaDataObject,QSupplementalInstanceMetaData,TopLevelMetaDataInterface,Serializable
HealthMonitoringMetaData
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for backendNameGetter for homePath: the UI path alerts link to (default /systemHealth; hosts that place the health table elsewhere, e.g. under Admin, set it).intGetter for maxConcurrentChecksgetName()Supplemental metadata name.booleanGetter for prometheusEnabledintGetter for resultRetentionDaysbooleanGetter for runnerEnabledGetter for runnerUserNameintGetter for tickSecondsstatic HealthMonitoringMetaDataofOrWithNew(QInstance qInstance) Get or install monitoring configuration.voidsetBackendName(String backendName) Setter for backendNamevoidsetHomePath(String homePath) Setter for homePathvoidsetMaxConcurrentChecks(int maxConcurrentChecks) Setter for maxConcurrentChecksvoidsetPrometheusEnabled(boolean prometheusEnabled) Setter for prometheusEnabledvoidsetResultRetentionDays(int resultRetentionDays) Setter for resultRetentionDaysvoidsetRunnerEnabled(boolean runnerEnabled) Setter for runnerEnabledvoidsetRunnerUserName(String runnerUserName) Setter for runnerUserNamevoidsetTickSeconds(int tickSeconds) Setter for tickSecondsvoidvalidate(QInstance qInstance, QInstanceValidator validator) Reject unsafe scheduling and storage configuration before startup.withBackendName(String backendName) Fluent setter for backendNamewithHomePath(String homePath) Fluent setter for homePathwithMaxConcurrentChecks(int maxConcurrentChecks) Fluent setter for maxConcurrentCheckswithPrometheusEnabled(boolean prometheusEnabled) Fluent setter for prometheusEnabledwithResultRetentionDays(int resultRetentionDays) Fluent setter for resultRetentionDayswithRunnerEnabled(boolean runnerEnabled) Fluent setter for runnerEnabledwithRunnerUserName(String runnerUserName) Fluent setter for runnerUserNamewithTickSeconds(int tickSeconds) Fluent setter for tickSecondsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.kingsrook.qqq.backend.core.model.metadata.QSupplementalInstanceMetaData
addSelfToInstance, enrich
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
HealthMonitoringMetaData
public HealthMonitoringMetaData()
-
-
Method Details
-
ofOrWithNew
Get or install monitoring configuration. -
getName
Supplemental metadata name.- Specified by:
getNamein interfaceTopLevelMetaDataInterface
-
validate
Reject unsafe scheduling and storage configuration before startup.- Specified by:
validatein interfaceQSupplementalInstanceMetaData
-
getBackendName
Getter for backendName -
setBackendName
Setter for backendName -
withBackendName
Fluent setter for backendName -
getRunnerEnabled
public boolean getRunnerEnabled()Getter for runnerEnabled -
setRunnerEnabled
public void setRunnerEnabled(boolean runnerEnabled) Setter for runnerEnabled -
withRunnerEnabled
Fluent setter for runnerEnabled -
getTickSeconds
public int getTickSeconds()Getter for tickSeconds -
setTickSeconds
public void setTickSeconds(int tickSeconds) Setter for tickSeconds -
withTickSeconds
Fluent setter for tickSeconds -
getMaxConcurrentChecks
public int getMaxConcurrentChecks()Getter for maxConcurrentChecks -
setMaxConcurrentChecks
public void setMaxConcurrentChecks(int maxConcurrentChecks) Setter for maxConcurrentChecks -
withMaxConcurrentChecks
Fluent setter for maxConcurrentChecks -
getResultRetentionDays
public int getResultRetentionDays()Getter for resultRetentionDays -
setResultRetentionDays
public void setResultRetentionDays(int resultRetentionDays) Setter for resultRetentionDays -
withResultRetentionDays
Fluent setter for resultRetentionDays -
getPrometheusEnabled
public boolean getPrometheusEnabled()Getter for prometheusEnabled -
setPrometheusEnabled
public void setPrometheusEnabled(boolean prometheusEnabled) Setter for prometheusEnabled -
withPrometheusEnabled
Fluent setter for prometheusEnabled -
getRunnerUserName
Getter for runnerUserName -
setRunnerUserName
Setter for runnerUserName -
withRunnerUserName
Fluent setter for runnerUserName -
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
Setter for homePath -
withHomePath
Fluent setter for homePath
-