Interface DiagnosticsConfiguration


public interface DiagnosticsConfiguration
Configuration provided by the host application, used to configure atlassian-diagnostics
  • Method Details

    • getAlertRetentionPeriod

      @Nonnull Duration getAlertRetentionPeriod()
      Returns:
      the minimum amount of time that alerts will be kept in the database
    • getAlertTruncationInterval

      @Nonnull Duration getAlertTruncationInterval()
      Returns:
      the interval at which alerts older than getAlertRetentionPeriod() 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:
      true if the diagnostics feature is enabled, otherwise false
    • getThreadDumpProducerCooldown

      @Nonnull Duration getThreadDumpProducerCooldown()
      Returns:
      the minimum time that should elapse between generating thread dumps
    • getNodeName

      @Nonnull String getNodeName()
      Returns:
      the name of the current node, used when raising alerts