Set Up Deployment Gates

Ce produit n'est pas pris en charge par le site Datadog que vous avez sélectionné. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Join the Preview!

Deployment Gates are in Preview. If you’re interested in this feature, complete the form to request access.

Request Access

Deployment Gates have two main components:

  • A Gate is defined for a service and environment (and optionally an identifier), and evaluates one or more rules to decide whether a deployment should proceed.
  • A Rule is a type of evaluation performed as part of a gate, such as checking the status of a set of monitors or running APM Faulty Deployment Detection analysis on the deployed version.

Gate evaluations are asynchronous — the API returns immediately with an evaluation ID, and the result resolves to pass or fail over time as the rules run.

Deployment Gate evaluation modes

Deployment Gates support two evaluation modes: Just-In-Time (JIT) and preconfigured.

JIT (default)Preconfigured
Where rules liveInline in your deployment configuration or CI stepPersisted in Datadog (UI, API, or Terraform)
Setup in DatadogNoneCreate a gate and rules ahead of time
Best forRules-as-code, per-deployment flexibility, teams that own their own gate configurationShared rules across services, central management, non-CI editing
How to evaluateSend rules in the evaluation requestReference the gate by service, environment, and optionally identifier

You can use different modes across different gates if needed.

If you’re unsure where to start, use JIT. It requires no setup in Datadog and lets you iterate on rules directly in your deployment configuration.

Further reading