Alerting is an enterprise-only feature and requires the enterprise Bifrost image.
bifrost.alerting into the generated config.json that Bifrost loads at startup. Use this page when you want alert channels and rules managed from values files.
For the runtime behavior and UI workflow, see Alerting, Alert Rules, Alert Channels, and Alert History.
Alert rules evaluate governance metrics. Define the referenced virtual keys, teams, customers, budgets, and rate limits under
bifrost.governance, or create them through the Web UI or API before the rule is evaluated.Quick example
Create Kubernetes secrets for channel credentials and expose them as environment variables to the Bifrost pod:Top-level fields
Alerting samples the current governance counters at this interval. Keep
evaluation_interval_seconds comfortably below the shortest configured budget or rate-limit reset duration so a brief threshold breach is observed before governance resets the counter.Webhook network controls
Channels
Each channel needs a stableid, a display name, a type, an enabled flag, and a type-specific config.
Channel config
Credential and endpoint fields supportenv.VAR_NAME references. Bifrost resolves the value from the pod environment at startup.
For each alias pair, provide exactly one key. For example, use either
webhook_url or url for Slack, not both.Rules
Rules evaluate CEL expressions against governance metrics collected for a virtual key, team, or customer.Scopes and targets
Every rule must have a scope. A rule can either evaluate all budgets for that scope or target one budget explicitly.target_type and target_id must be provided together.
CEL examples
Specific budget example
Usetarget_type: "budget" and target_id when a rule should evaluate one budget instead of every budget in the scope.
Reset-cycle notifications
Setnotify_once_per_reset_cycle when you want one notification per budget or rate-limit reset window, instead of repeated sends based on a cooldown.
Clusters
In a Bifrost Enterprise cluster, only the leader evaluates alert rules and writes alert history. Followers can serve inference traffic and update shared governance usage, but they do not dispatch duplicate alerts. No extra alerting configuration is required for cluster mode. Configure clustering separately underbifrost.cluster.
Validation
The Helm values schema validates alerting configuration during template rendering and install or upgrade operations. It checks channel types, required channel config, exact-one alias pairs, requiredchannel_ids, and the target_type / target_id pairing.
Next steps
Alerting overview
Learn how alert evaluation, cooldowns, history, and clustering work.
Governance in Helm
Define the virtual keys, teams, customers, budgets, and rate limits that alert rules evaluate.

