Class PagerDutyConfig

    • Method Detail

      • getClassName

        public String getClassName()
        class defines the class/type of the event.
      • setClassName

        public void setClassName​(String className)
        class defines the class/type of the event.
      • getClient

        public String getClient()
        client defines the client identification.
      • setClient

        public void setClient​(String client)
        client defines the client identification.
      • getClientURL

        public String getClientURL()
        clientURL defines the backlink to the sender of notification.
      • setClientURL

        public void setClientURL​(String clientURL)
        clientURL defines the backlink to the sender of notification.
      • getComponent

        public String getComponent()
        component defines the part or component of the affected system that is broken.
      • setComponent

        public void setComponent​(String component)
        component defines the part or component of the affected system that is broken.
      • getDescription

        public String getDescription()
        description of the incident.
      • setDescription

        public void setDescription​(String description)
        description of the incident.
      • getDetails

        public List<KeyValue> getDetails()
        details defines the arbitrary key/value pairs that provide further detail about the incident.
      • setDetails

        public void setDetails​(List<KeyValue> details)
        details defines the arbitrary key/value pairs that provide further detail about the incident.
      • getGroup

        public String getGroup()
        group defines a cluster or grouping of sources.
      • setGroup

        public void setGroup​(String group)
        group defines a cluster or grouping of sources.
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
      • getPagerDutyImageConfigs

        public List<PagerDutyImageConfig> getPagerDutyImageConfigs()
        pagerDutyImageConfigs defines a list of image details to attach that provide further detail about an incident.
      • setPagerDutyImageConfigs

        public void setPagerDutyImageConfigs​(List<PagerDutyImageConfig> pagerDutyImageConfigs)
        pagerDutyImageConfigs defines a list of image details to attach that provide further detail about an incident.
      • getPagerDutyLinkConfigs

        public List<PagerDutyLinkConfig> getPagerDutyLinkConfigs()
        pagerDutyLinkConfigs defines a list of link details to attach that provide further detail about an incident.
      • setPagerDutyLinkConfigs

        public void setPagerDutyLinkConfigs​(List<PagerDutyLinkConfig> pagerDutyLinkConfigs)
        pagerDutyLinkConfigs defines a list of link details to attach that provide further detail about an incident.
      • getRoutingKey

        public SecretKeySelector getRoutingKey()
        PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
      • setRoutingKey

        public void setRoutingKey​(SecretKeySelector routingKey)
        PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
      • getSendResolved

        public Boolean getSendResolved()
        sendResolved defines whether or not to notify about resolved alerts.
      • setSendResolved

        public void setSendResolved​(Boolean sendResolved)
        sendResolved defines whether or not to notify about resolved alerts.
      • getServiceKey

        public SecretKeySelector getServiceKey()
        PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
      • setServiceKey

        public void setServiceKey​(SecretKeySelector serviceKey)
        PagerDutyConfig configures notifications via PagerDuty. See https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config
      • getSeverity

        public String getSeverity()
        severity of the incident.
      • setSeverity

        public void setSeverity​(String severity)
        severity of the incident.
      • getSource

        public String getSource()
        source defines the unique location of the affected system.
      • setSource

        public void setSource​(String source)
        source defines the unique location of the affected system.
      • getTimeout

        public String getTimeout()
        timeout is the maximum time allowed to invoke the pagerduty It requires Alertmanager >= v0.30.0.
      • setTimeout

        public void setTimeout​(String timeout)
        timeout is the maximum time allowed to invoke the pagerduty It requires Alertmanager >= v0.30.0.
      • getUrl

        public String getUrl()
        url defines the URL to send requests to.
      • setUrl

        public void setUrl​(String url)
        url defines the URL to send requests to.
      • getAdditionalProperties

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

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

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