This new dash0-enabled
annotation works on an individual check rule basis. It allows you to temporarily or permanently disable or enable check rules via the Dash0 UI, APIs or Dash0 Operator
yaml
prometheus-example-rule.yml1234567891011121314151617181920apiVersion: monitoring.coreos.com/v1kind: PrometheusRulemetadata:labels:prometheus: examplerole: alert-rulesname: prometheus-example-rulespec:groups:- name: dash0/k8sinterval: 5mrules:- alert: K8s pod crash loopingexpr: "increase(kube_pod_container_status_restarts_total[1m]) > $__threshold"annotations:description: "Pod labels.namespace/labels.pod is crash looping. VALUE = value, LABELS = labels"summary: "K8s pod crash looping K8s pod crash looping {{ $label. k8s_node_name }}"dash0-enabled: "false" # false to disable and true (default) to enabledash0-threshold-degraded: "10"dash0-threshold-critical: "15"