Set Up Deployment Gates

Este producto no es compatible con el sitio Datadog seleccionado. ().
Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.
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