Interface Alert

All Known Subinterfaces:
AlertWithElisions

public interface Alert
Represent an alert raised by one of the component monitors to signal that an issue has been detected by the monitor.
  • Method Details

    • getDetails

      @Nonnull Optional<Object> getDetails()
      Returns:
      the alert details, if any was created for the alert in question
    • getId

      long getId()
      Returns:
      the alert's ID
    • getIssue

      @Nonnull Issue getIssue()
      Returns:
      the issue for which the alert was created
    • getNodeName

      @Nonnull String getNodeName()
      Returns:
      the name of the node that triggered the alert
    • getTimestamp

      @Nonnull Instant getTimestamp()
      Returns:
      the timestamp that describes when the alert was created
    • getTrigger

      @Nonnull AlertTrigger getTrigger()
      Returns:
      the trigger of the reported issue