Deployment Gates: de-claudify root page! #41604
Preview links (active after the build_preview check completes)
Modified Files
https://docs-staging.datadoghq.com/cara/DOCS-16369_de-claudify-deployment-gates-root/deployment_gates/
https://docs-staging.datadoghq.com/cara/DOCS-16369_de-claudify-deployment-gates-root/deployment_gates/setup/
https://docs-staging.datadoghq.com/cara/DOCS-16369_de-claudify-deployment-gates-root/deployment_gates/setup/inline
https://docs-staging.datadoghq.com/cara/DOCS-16369_de-claudify-deployment-gates-root/deployment_gates/setup/preconfigured
Would something like this work? My understanding from line 35 is that the gate returns a verdict and the pipeline decides whether to pause, but I might be missing something.
A Deployment Gate is an automated checkpoint between your deployment stages. During a production rollout, the gate checks service health using signals Datadog already collects, and returns a failing verdict when a required check fails so your pipeline can pause the rollout. This helps keep errors and other issues from reaching a wider user base.
Optional rewording, in case "centralizes" reads a little vague. Also, I wasn't sure whether traces are available for every rule type or only some.
When a gate fails, the Evaluations page shows the deployed version, the failed rules, and why each rule failed. You can follow the associated traces to start investigating the problem.
{{< img src="/deployment_gates/evaluations_rule_failure.png" alt="The Deployment Gates Evaluations page with a side panel showing a failed monitor rule evaluation." style="width:100%" >}}
The previous version mentioned an optional identifier. Does that still apply? If so, maybe something like:
A Deployment Gate evaluates one or more [rules](#rules) to decide whether a deployment should proceed. Each gate is defined for a service, an environment, and an optional identifier.
Since inline gates are sent with each request rather than stored, does this heading still fit them? Maybe something like "Inline and preconfigured gates"? Totally your call.
Would it help to mention the default period here (and a minimum, if there is one)?
Is it worth keeping "during the evaluation period" from the previous version or is that not accurate?
A monitor rule checks the state of one or more [monitors][1] you have already set up in Datadog. The rule fails if a monitor enters an `Alert` or `No Data` status during the evaluation period.
FYI, the linked Watchdog page is titled "Automatic Faulty Deployment Detection." Not sure if there are plans to rename that one too, but it might be nice to keep them in sync.
Evaluations for both inline and preconfigured gates appear on the [{{< ui >}}Deployment Gates Evaluations{{< /ui >}}][5] page.
Optional rewording to make "This" and "their" a bit clearer. Does this still say what you mean?
There are two evaluation modes: [dry run](#dry-run-mode) and [active](#active-mode). Set the evaluation mode separately on each gate and each rule. The mode determines whether a gate's or rule's verdict affects your deployment.
Optional tweak, in case it's useful (mainly hyphenates "dry-run" before a noun):
The verdict of a gate in dry run mode is recorded on [{{< ui >}}Evaluations{{< /ui >}}][5] but doesn't affect your deployment. A dry run gate always returns `pass` to your pipeline. A dry-run rule's verdict doesn't count toward its gate's verdict.
The link target here changed, but the sentence that uses it, further up this page, still says "For a comparison of the two configuration sources, see [Configuration sources][1]." Since the comparison table is gone and the section was renamed, maybe that sentence could use an update too? Something like: "For the difference between inline and preconfigured gates, see [Where gate configurations are stored][1]."
- **Inline**: The gate is defined in code alongside your deployment configuration. The gate configuration is sent with each evaluation request. There is no setup in Datadog.
Normally I think "dry-run" as an adjective would be hyphenated, but maybe there's a reason you didn't do that in this section.
Approved these changes.
great call! the language around how actively your pipeline pauses the rollout is sensitive, so paging in @leachface to weigh-in here
good question on whether rules of every type would have traces. another one for @leachface! (for context, I pulled this traces language from the blog: https://www.datadoghq.com/blog/deployment-gates/#investigate-issues-faster-and-keep-deployments-moving)
good questions! I like the idea to include the minimum, like, "Rules can watch health indicators over a configurable period ranging from 1 minute to 2 hours." I'll implement this!
I think the default (looks to be 10 minutes) might be more info than this root page needs (but might be worth including when I revise the setup pages, coming soon!)
this is still true, but I think it's well-implied! the "over a configurable period" sentence in the parent section covers this
yeah, the product uses it without a hyphen, so I replicated that here
that's still true, but because it's optional, I deemed it not vital to mention on the root page. this is another detail we will mention on the child Setup pages! good question, though
really good question! inline gates actually _are_ stored—just in the user's deployment configuration, rather than Datadog. that's something we wanted to convey more strongly, hence this section header edit!
fair! mostly implemented in https://github.com/DataDog/documentation/pull/41604/changes/7928a40570b7b12a882b0aaad58e95f5a38ad8de
thanks for catching this! fixed in https://github.com/DataDog/documentation/pull/41604/changes/7928a40570b7b12a882b0aaad58e95f5a38ad8de
ty! it's actually under the Watchdog nav item, so I don't think it's imperative vital crucial to rename it, but a good callout nonetheless!
"...the gate checks service health using signals Datadog already collects and when a rule fails, the gate returns a failing verdict so your pipeline can pause the rollout...."
melamos
clreaume
What does this PR do? What is the motivation?
I recently overhauled the Deployment Gates root page, and the DG PM (@leachface)'s feedback was that it was too verbose (valid!). this PR adds nothing new conceptually, only slashing and burning a lot of the content and slightly reformatting the page.
oh! and Mike also wants to replace instances of "APM Faulty Deployment Detection" with "Watchdog Faulty Deployment Detection," so this PR also performs a simple find and replace
Merge readiness
AI assistance
Additional notes
n/a