Class RulesAlert

    • Constructor Detail

      • RulesAlert

        public RulesAlert()
        No args constructor for use in serialization
      • RulesAlert

        public RulesAlert​(String forGracePeriod,
                          String forOutageTolerance,
                          String resendDelay)
    • Method Detail

      • getForGracePeriod

        public String getForGracePeriod()
        forGracePeriod defines the minimum duration between alert and restored 'for' state.


        This is maintained only for alerts with a configured 'for' time greater than the grace period.

      • setForGracePeriod

        public void setForGracePeriod​(String forGracePeriod)
        forGracePeriod defines the minimum duration between alert and restored 'for' state.


        This is maintained only for alerts with a configured 'for' time greater than the grace period.

      • getForOutageTolerance

        public String getForOutageTolerance()
        forOutageTolerance defines the max time to tolerate prometheus outage for restoring 'for' state of alert.
      • setForOutageTolerance

        public void setForOutageTolerance​(String forOutageTolerance)
        forOutageTolerance defines the max time to tolerate prometheus outage for restoring 'for' state of alert.
      • getResendDelay

        public String getResendDelay()
        resendDelay defines the minimum amount of time to wait before resending an alert to Alertmanager.
      • setResendDelay

        public void setResendDelay​(String resendDelay)
        resendDelay defines the minimum amount of time to wait before resending an alert to Alertmanager.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)