---
title: "Catch incidents and pause faulty deployments automatically with Datadog Deployment Gates"
description: "Automate deployment checks with Datadog Deployment Gates to catch production issues, limit customer impact, and investigate faster."
author: "Eric Metaj, Mike Leach"
date: 2026-11-09
tags: ["deployment gates", "canary releases", "ci/cd", "devops", "software delivery"]
blog_type_id: the-monitor
locale: en
---

As AI-assisted development helps teams create and ship more code, engineers need to check a growing volume of changes under real production conditions. Even code that passes testing can introduce errors or slowdowns in production, so early detection is essential to protecting customers.

Automating those health checks helps teams keep pace by reducing the time engineers spend watching dashboards. By evaluating application and infrastructure health as changes reach production, teams can catch issues early and decide when a deployment is safe to continue.

[Datadog Deployment Gates](https://docs.datadoghq.com/deployment_gates.md), now generally available, brings automated health checks into your existing deployment workflows, helping teams catch production issues early and pause deployments to limit customer impact. It combines Datadog’s broad range of application and infrastructure monitors with automatic detection of unexpected errors. 

In this post, we'll show how you can:

- [Reduce production incidents with automated deployment checks](#reduce-production-incidents-with-automatic-deployment-checks)
- [Spend less engineering time monitoring deployments](#spend-less-engineering-time-monitoring-deployments)

## Reduce production incidents with automated deployment checks

A deployment can complete successfully even when the new version introduces errors or slowdowns. Checking its health under production traffic helps teams catch issues early and decide whether to proceed before more customers are affected.

Deployment Gates helps you make that decision before deploying more broadly. A deployment gate acts as an automated checkpoint after a deployment or between deployment stages, evaluating production health before the workflow proceeds. For example, you can deploy a new application version to a small subset of your infrastructure and evaluate its health before expanding. If a required check fails, the workflow can pause the deployment while the new version is still limited to that initial stage.

![Screencast of a failed Automatic Faulty Deployment Detection rule and Watchdog’s analysis of the faulty inventory-api version.](https://web-assets.dd-static.net/42588/1793976123-reduce-production-incidents-with-automated-deployment-checks.mp4)

Deployment Gates combines monitor rules that check the health conditions your team defines with [Watchdog](https://docs.datadoghq.com/watchdog/faulty_deployment_detection.md)[™](https://docs.datadoghq.com/watchdog.md)[ Faulty Deployment Detection](https://docs.datadoghq.com/watchdog/faulty_deployment_detection.md), a capability of [Datadog Application Performance Monitoring (APM)](https://docs.datadoghq.com/tracing.md) that flags errors your monitors aren’t set up to catch. Together, these checks help teams catch issues covered by configured monitors as well as errors they may not anticipate.

### Reuse Datadog monitors to check deployment health

If you already use Datadog monitors to track error rates, request latency, or infrastructure resource utilization, Deployment Gates can use those same monitors to decide whether a deployment should proceed.

![Screencast demonstrating how to trace a failed monitor rule from its alerting monitors to the faulty deployment behind them.](https://web-assets.dd-static.net/42588/1793976441-reuse-datadog-monitors-to-check-deployment-health.mp4)

[Monitor rules](https://docs.datadoghq.com/deployment_gates/setup/preconfigured.md?tab=monitor#rule-types) evaluate selected Datadog monitors over a defined period. For example, if application errors spike or performance slows during a deployment and a selected monitor detects the change, the rule can fail the gate before the deployment proceeds. Because rules draw on monitors your teams already maintain, you can tailor health checks to each service and deployment workflow. 

### Detect unexpected errors with Watchdog Faulty Deployment Detection

Some application errors fall outside the conditions your team has configured monitors to check. A code change might introduce an entirely new error type or increase errors at an endpoint that previously worked as expected. Deployment checks based only on predefined monitors can miss these issues.

Watchdog Faulty Deployment Detection uses [Datadog’s AI engine](https://www.datadoghq.com/product/platform/watchdog/) for analyzing observability data across the platform, to find application errors your team may not have anticipated. For services instrumented with APM, Watchdog compares the deployed version with previous versions of the same service to identify new error types and significant error-rate increases at individual endpoints.

Consider a checkout service that passes testing but introduces a new error type during a canary deployment. By comparing service versions, Watchdog can detect the new error without a dedicated monitor and trigger the Watchdog Faulty Deployment Detection rule to fail the gate. The workflow then pauses the deployment while the new version is limited to the canary stage, giving engineers time to investigate before deploying it more broadly.

![Screenshot of a Watchdog alert that attributes a 9.49% error-rate increase on fax-service to a new deployment.](https://web-assets.dd-static.net/42588/1793977874-detect-unexpected-errors-with-apm-faulty-deployment-detection.png)

By combining monitor checks with automatic detection of unexpected application errors, Deployment Gates helps teams catch a broader range of production issues during deployments and limit customer impact.

## Spend less engineering time monitoring deployments

Manually checking deployment health pulls engineers away from development as they review dashboards, assess application and infrastructure health, and intervene when problems appear. Deployment Gates automates those checks so engineers spend less time overseeing each deployment.

Deployment Gates puts health checks to work within your existing workflow: Active gates let the workflow continue when all required checks pass and pause when one fails. Engineers can then focus on investigating the issues gates surface, with the confidence that required health checks run as part of the deployment process.

You can add these checks to your [existing deployment tools and workflows](https://docs.datadoghq.com/deployment_gates/setup.md) through GitHub Actions, Argo Rollouts, the datadog-ci command-line tool, or the Datadog API. Reuse [shared rules](https://docs.datadoghq.com/deployment_gates/setup/preconfigured.md) across teams or [tailor them to each service](https://docs.datadoghq.com/deployment_gates/setup/jit.md) to fit the deployment process you already use.

### Test Deployment Gates without interrupting deployments

[Dry-run mode](https://docs.datadoghq.com/deployment_gates/setup/preconfigured.md?tab=monitor#add-rules-to-a-gate) lets you try Deployment Gates in your existing workflow and see which deployments would pause and why, while deployments continue as usual.

![Screenshot of the evaluation mode step in the gate creation workflow, with Dry Run selected instead of Active.](https://web-assets.dd-static.net/42588/1793976558-deployment_gates_2.png)

Datadog checks live application and infrastructure signals from the deployed version and records the outcome of each check, including the reason for any failure. Reviewing these results helps you understand which production issues your gates catch and adjust checks to fit each service before turning on automatic pauses. Once you’re ready, switch to active mode so your workflow pauses when a required check fails, helping limit customer impact.

### Investigate issues faster and keep deployments moving

When a gate fails, Datadog brings together the deployed version, failed check, and failure reason, providing access to the related monitor or APM finding. Engineers can follow the associated traces to see where requests fail or slow down.

![Screenshot of a faulty deployment analysis for inventory-api beside a Bits Chat conversation about its root cause.](https://web-assets.dd-static.net/42588/1793976710-deployment_gates_3.png)

Teams can continue the investigation with [Bits Chat](https://docs.datadoghq.com/bits_ai/bits_chat.md), asking it in natural language to explain the services involved, explore likely causes, and recommend next steps. With production data and guidance in one place, engineers can decide how to respond sooner.

Those failure details remain available in [evaluation history](https://docs.datadoghq.com/deployment_gates/explore.md), where teams can review recently completed gate evaluations and their failure reasons. By identifying frequently failing gates and rules, analyzing common failure patterns, and tracking evaluation trends over time, teams can prioritize fixes that reduce recurring deployment interruptions.

## Get started with Deployment Gates

Datadog Deployment Gates combines application and infrastructure monitors with automatic detection of unexpected errors to help teams reduce production incidents as they deploy. By pausing deployments when required health checks fail and bringing failure details into Datadog, it helps teams limit customer impact, investigate issues faster, and get back to delivering new features with confidence.

To get started, see the [Deployment Gates setup documentation](https://docs.datadoghq.com/deployment_gates/setup.md) to learn how to add health checks to your deployment workflows. You can also review the [preconfigured gate options](https://docs.datadoghq.com/deployment_gates/setup/preconfigured.md) and [Deployment Gates evaluation results](https://docs.datadoghq.com/deployment_gates/explore.md) to explore the available checks and investigation details.

If you’re not yet a Datadog customer, <!-- Sign-up trigger (sign up for a free 14-day trial) omitted -->.