OpsTrailsDocs
Console

Change Freeze Windows

Change freeze windows define time periods during which changes should not occur. They are part of the operational guardrails system and work alongside deployment policies.

Configuration

Create freeze windows from the OpsTrails console at Guardrails → Change Freeze Windows.

FieldTypeRequiredDescription
namestringrequiredA descriptive name for the freeze window
startsAtdatetimerequiredWhen the freeze begins (ISO 8601)
endsAtdatetimerequiredWhen the freeze ends (ISO 8601)
subjectsstring[]optionalLimit to specific subjects (e.g., "production"). Empty = all subjects.
sourcesstring[]optionalLimit to specific sources (e.g., "//github.com/acme/api"). Empty = all sources.
typesstring[]optionalLimit to specific event types (e.g., "deployment"). Empty = all matched types.
severitiesstring[]optionalLimit to specific severities (e.g., "CRITICAL"). Empty = all severities.
notificationChannelschannel[]optionalNotification channels to alert on violation. Email is always sent.
enabledbooleanoptionalWhether the freeze is active. Defaults to true.

Status Lifecycle

A freeze window moves through the following statuses:

How Violations Work

When an event is recorded during an active freeze window and matches the configured filters, the freeze is marked as Violated. The first matching event triggers notifications to all linked channels. Subsequent violations during the same freeze do not send additional notifications.

Editing a violated freeze window resets its status. If the freeze is still active after editing, it can be violated again.

Filters

Use the optional filter fields — subjects, sources, types, and severities — to narrow which events trigger a violation. When a filter is empty, all values match. For example, setting subjects to ["production"] means only events with subject “production” will trigger the freeze. See Core Concepts for definitions of event fields.

Tip

Use change freeze windows for holiday freezes, scheduled maintenance windows, or critical business periods like end-of-quarter processing.