CustomPrometheusRules

Scope: Cluster

Resource to store PrometheusRule. Details….

  • spec
    object

    Required value

    • spec.groups
      array of objects

      Required value

      Alert group description.

      The structure of the groups is similar to that of prometheus-operator.

      RuleGroup is a list of sequentially evaluated recording and alerting rules.

      • spec.groups.interval
        string
      • spec.groups.name
        string

        Required value

      • spec.groups.rules
        array of objects

        Required value

        • spec.groups.rules.alert
          string
        • spec.groups.rules.annotations
          object
        • spec.groups.rules.expr
          integer or string

          Required value

        • spec.groups.rules.for
          string
        • spec.groups.rules.labels
          object
        • spec.groups.rules.record
          string

Deprecated resource. Support for the resource might be removed in a later release.

Resource to store PrometheusRule. Details….

  • spec
    object

    Required value

    • spec.groups
      array of objects

      Required value

      Alert group description.

      The structure of the groups is similar to that of prometheus-operator.

      RuleGroup is a list of sequentially evaluated recording and alerting rules.

      • spec.groups.interval
        string
      • spec.groups.name
        string

        Required value

      • spec.groups.rules
        array of objects

        Required value

        • spec.groups.rules.alert
          string
        • spec.groups.rules.annotations
          object
        • spec.groups.rules.expr
          integer or string

          Required value

        • spec.groups.rules.for
          string
        • spec.groups.rules.labels
          object
        • spec.groups.rules.record
          string