Package com.atlassian.diagnostics
Interface DiagnosticsConfiguration
public interface DiagnosticsConfiguration
Configuration provided by the host application, used to configure atlassian-diagnostics
-
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Method Details
-
getAlertRetentionPeriod
- Returns:
- the minimum amount of time that
alertswill be kept in the database
-
getAlertTruncationInterval
- Returns:
- the interval at which
alertsolder thangetAlertRetentionPeriod()are deleted from the database; in case of a fresh instance (or full cluster) (re-)start, this is also the initial offset until the truncation is executed for the first time
-
isEnabled
boolean isEnabled()- Returns:
trueif the diagnostics feature is enabled, otherwisefalse
-
getThreadDumpProducerCooldown
- Returns:
- the minimum time that should elapse between generating thread dumps
-
getNodeName
- Returns:
- the name of the current node, used when
raising alerts
-