Class AlertmanagerGlobalConfig

    • Method Detail

      • getHttpConfig

        public HTTPConfigWithProxy getHttpConfig()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setHttpConfig

        public void setHttpConfig​(HTTPConfigWithProxy httpConfig)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getJira

        public GlobalJiraConfig getJira()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setJira

        public void setJira​(GlobalJiraConfig jira)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getMattermost

        public GlobalMattermostConfig getMattermost()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setMattermost

        public void setMattermost​(GlobalMattermostConfig mattermost)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getOpsGenieApiKey

        public SecretKeySelector getOpsGenieApiKey()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setOpsGenieApiKey

        public void setOpsGenieApiKey​(SecretKeySelector opsGenieApiKey)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getOpsGenieApiUrl

        public SecretKeySelector getOpsGenieApiUrl()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setOpsGenieApiUrl

        public void setOpsGenieApiUrl​(SecretKeySelector opsGenieApiUrl)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getPagerdutyUrl

        public String getPagerdutyUrl()
        pagerdutyUrl defines the default Pagerduty URL.
      • setPagerdutyUrl

        public void setPagerdutyUrl​(String pagerdutyUrl)
        pagerdutyUrl defines the default Pagerduty URL.
      • getResolveTimeout

        public String getResolveTimeout()
        resolveTimeout defines the default value used by alertmanager if the alert does not include EndsAt, after this time passes it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt.
      • setResolveTimeout

        public void setResolveTimeout​(String resolveTimeout)
        resolveTimeout defines the default value used by alertmanager if the alert does not include EndsAt, after this time passes it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt.
      • getRocketChat

        public GlobalRocketChatConfig getRocketChat()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setRocketChat

        public void setRocketChat​(GlobalRocketChatConfig rocketChat)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getSlackApiUrl

        public SecretKeySelector getSlackApiUrl()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setSlackApiUrl

        public void setSlackApiUrl​(SecretKeySelector slackApiUrl)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getSmtp

        public GlobalSMTPConfig getSmtp()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setSmtp

        public void setSmtp​(GlobalSMTPConfig smtp)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getTelegram

        public GlobalTelegramConfig getTelegram()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setTelegram

        public void setTelegram​(GlobalTelegramConfig telegram)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getVictorops

        public GlobalVictorOpsConfig getVictorops()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setVictorops

        public void setVictorops​(GlobalVictorOpsConfig victorops)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getWebex

        public GlobalWebexConfig getWebex()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setWebex

        public void setWebex​(GlobalWebexConfig webex)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getWechat

        public GlobalWeChatConfig getWechat()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setWechat

        public void setWechat​(GlobalWeChatConfig wechat)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getAdditionalProperties

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

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

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