Skip to content

docs(alerts): alert expressions are CEL, not expr-lang - #298

Merged
vishr merged 1 commit into
mainfrom
docs/alerts-cel
Oct 11, 2026
Merged

vishr merged 1 commit into
mainfrom
docs/alerts-cel

Conversation

@vishr

@vishr vishr commented Oct 11, 2026

Copy link
Copy Markdown
Member

What changed

The alert engine compiles rules with CEL (cel.dev/cel-go, internal/alert/expr.go), but the alert guide and the generated expression reference said expr-lang and showed and. Both now name CEL, use &&, and state that rules are type-checked against the declared variables when saved. The reference is regenerated from cmd/fanout-docgen.

Verification

  • just check (pre-push)
  • just docs-generate-check
  • User-facing behavior and configuration docs are current
  • No credentials, private telemetry, host details, or enterprise-only source are included

The alert engine compiles rules with cel-go, but the alert guide and the
generated expression reference named expr-lang and showed its 'and' syntax.
Both now name CEL, use '&&', and state that rules are type-checked against
the declared variables when they are saved.
@vishr
vishr merged commit f4ed8eb into main Oct 11, 2026
14 checks passed
@vishr
vishr deleted the docs/alerts-cel branch October 11, 2026 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant