For the complete documentation index, see llms.txt. Markdown versions are available by appending .md to documentation URLs.

Upgrade SigNoz to v0.150.0 with Alert Rules v2alpha1 Schema

Self-Hosted Community - This page applies to self-hosted SigNoz without a license.
Self-Hosted Enterprise - This page applies to self-hosted SigNoz with an active license.

SigNoz v0.150.0 moves alert rules to a single schema, v2alpha1. Your existing rules are converted to the new schema automatically when the server starts, so no action is needed if you only manage alerts in the UI.

Who needs to act

If youThen
Use alerts only through the UINothing: rules are migrated automatically
Have scripts calling /api/v1/rules, /api/v1/testRule, or GET /api/v2/rulesMigrate them to the v2 rules APIs before upgrading: these endpoints are removed
Have scripts already on /api/v2/rules that send v1-shaped bodiesAdd schemaVersion and the new objects before upgrading: create, replace, and test bodies without schemaVersion are rejected with 400
Have scripts or integrations that read rules and expect the v1 fields backUpdate them to the new shape: after the upgrade, a rule fetched by id comes back in the v2alpha1 shape, and the list returns a summary of each rule
Manage alerts with the Terraform signoz_alert resourceMove to signoz_rule
Manage SigNoz resources with the SigNoz OperatorUpgrade the operator to v0.0.5 or newer

Upgrade Self-Hosted SigNoz

Step 1: Back up your data

  • Alert rules live in the SigNoz Metastore (SQLite or Postgres) and are rewritten to the new schema when the server starts.
  • Back up the Metastore before upgrading.
  • If you are more than one release behind, check the Upgrade Path Tool for required stops before you move to v0.150.0.
  • The required stop before v0.150.0 is v0.143.0, which also needs a collector upgrade.

Step 2: Upgrade SigNoz

Upgrade foundryctl, then re-apply your existing casting.yaml.

curl -fsSL https://signoz.io/foundry.sh | bash
foundryctl cast -f casting.yaml

If your casting.yaml pins image versions, bump SigNoz to v0.150.0 yourself.

Step 3: Verify the upgrade

  1. Pods and containers are healthy (kubectl get pods -n <namespace>, docker compose ps, or systemctl status 'signoz-*').
  2. SigNoz reports v0.150.0 under Settings.
  3. Open Alerts and confirm your existing rules are listed.

What changes after migration

  • Automatic conversion. Existing v1 rules are rewritten to v2alpha1 when SigNoz starts after the upgrade.
  • Re-notification is stored on each rule. In v1, every rule re-notified every 4 hours while firing. Migrated rules come back with notificationSettings filled in from their v1 values, so they keep re-notifying every 4 hours while firing, and on no data when alertOnAbsent was set.
  • Channels are listed on each rule. In v1, an empty channel list meant every channel in the organization. A migrated rule that had no channels comes back with an empty channels list: add channels to it, or set it to use routing policies.
  • API reads return the new shape. A rule fetched by id comes back in v2alpha1, including rules created under v1, and the list returns a summary of each rule. To find where each v1 field moved, see the field mapping.

Migrate API scripts to the v2 rules APIs

The v1 rules endpoints and the GET /api/v2/rules list are removed in v0.150.0. Move your scripts to the replacements before you upgrade:

RemovedReplacement
GET /api/v1/rulesGET /api/v3/rules
GET /api/v2/rulesGET /api/v3/rules
GET /api/v1/rules/{id}GET /api/v2/rules/{id}
POST /api/v1/rulesPOST /api/v2/rules
PUT /api/v1/rules/{id}PUT /api/v2/rules/{id}
PATCH /api/v1/rules/{id}PATCH /api/v2/rules/{id}
DELETE /api/v1/rules/{id}DELETE /api/v2/rules/{id}
POST /api/v1/testRulePOST /api/v2/rules/test

After the upgrade:

  • Calls to /api/v1/rules and /api/v1/testRule return 404.
  • GET /api/v2/rules returns 405.
  • A create, replace, or test body sent to the v2 endpoints without "schemaVersion": "v2alpha1" returns 400. The message is alert rule is not valid, and the reason is schemaVersion: unsupported value ""; must be "v2alpha1".

GET /api/v3/rules returns a paginated summary of each rule. Fetch the full definition from GET /api/v2/rules/{id}.

For the field mapping, the behaviors to carry over, a before-and-after example, and a checklist for each script, see Migrate Alert Rules from the v1 Schema to v2alpha1.

Upgrade the SigNoz Operator

SigNoz v0.150.0 needs SigNoz Operator v0.0.5 or newer, because older operator versions look up alert rules through the removed rules list. For how the operator is installed, see the SigNoz Operator docs.

Migrate Terraform-managed alerts

Users on the signoz_rule resource, Terraform provider v0.1.0 and later, need no changes. It already uses the v2 endpoints and the v2alpha1 schema.

Configurations still on the older signoz_alert resource have to move to signoz_rule. Follow the provider's migrate signoz_alert to signoz_rule guide.

For general usage, see the Terraform provider guide.

Getting help

Is this page helpful

Last updated—November 11, 2026