GrafanaAlertsChannel

Scope: Cluster
Version: v1alpha1

The resource for adding alert notification channels to Grafana.

  • spec
    object

    Required value

    • spec.alertManager
      object

      Required value

      Alert manager settings.

      • spec.alertManager.address
        string

        Required value

        URL of an external Alertmanager.

        Pattern: ^https?://[^\s/$.?#].[^\s]*$

        Examples:

        address: http://alerts.mycompany.com
        
        address: https://alerts.company.com
        
        address: http://192.168.1.1
        
      • spec.alertManager.auth
        object

        Authorization properties.

        • spec.alertManager.auth.basic
          object

          Required value

          Basic authorization properties.

          • spec.alertManager.auth.basic.password
            string

            Required value

            Password.

          • spec.alertManager.auth.basic.username
            string

            Required value

            User name.

    • spec.description
      string

      Small and optional description about this alerts channel.

      Default: ""

    • spec.disableResolveMessage
      boolean

      When true, this option disables the resolve message [OK] that is sent when the alerting state returns to false.

      Default: false

    • spec.isDefault
      boolean

      Use this notification channel for all alerts.

      Default: false

    • spec.type
      string

      Required value

      Allowed values: PrometheusAlertManager