AI Impact setup [DOCS-15557] #40121
Preview links (active after the build_preview check completes)
New or renamed files
https://docs-staging.datadoghq.com/joepeeples/15557-AI-impact-setup/delivery_performance/ai_impact/setup/
Modified Files
https://docs-staging.datadoghq.com/joepeeples/15557-AI-impact-setup/delivery_performance/ai_impact/
Opened DOCS-15845 to assign a Docs writer and follow up with editorial review.
do we need a dedicated /setup directory for just one file? I expected this to just be setup.md within ai_impact/
AI Impact measures how AI coding tools—including coding assistants, review agents, and autonomous agents—affect your software delivery performance. Datadog detects AI contribution from several types of sources. Sources include co-author patterns in commit metadata, provider integrations, pull request labels, and data you send yourself.
I found myself wanting this page to at least call out the different categories of tools we see on the settings page
I think I would have expected this conceptual section to live on the parent AI Impact page (with a buncha cross-linking)—I see you moved it from there
By default, Datadog selects the most precise attribution mode
do we mean to display on the AI Impact dashboard? can we clarify that
[{{< ui >}}AI Impact Settings{{< /ui >}}][2] show which coding assistants and sources Datadog detects. Some coding assistants are detected automatically, when they add themselves as a [co-author](#co-author-signatures) to the commits they generate. To more completely capture an AI coding assistant's activity, configure a source for it.
| Coding assistant | Recommended source | Attribution mode |
is the endpoint you'd use public yet? I didn't see anything in the API docs when searching for AI impact (and the DORA pages seem to be incident/deployment focused). no worries if not, I was just thinking it'd be cool to link directly to the page where you're supposed to post this data
| Type of AI tool | How detection works |
Each rule applies to the whole pull request, so if any commits were written without AI assistance, they are classified as being AI-assisted. Label detection depends on consistent labeling by your team, which can be difficult to sustain across a large organization. Use it for a coding assistant with no Datadog integration, or for a single team that can maintain the practice.
these dropdowns were super helpful to me in clarifying, concretely, how attribution is made. I think they're deserving of being placed higher-up, and outside the procedural "Configure a source for a coding assistant" section! I might create a "### Source types" section above Supported AI coding assistants and sources and change that title to "Recommended source for each coding assistant" or similar
Automation bots, such as dependency updaters and release bots, are not AI agents, and their activity is not relevant to AI Impact. Identifying a bot prevents its activity from affecting your AI Impact metrics.
nit, but baseline feels kinda vague
To detect automation bot-authored commits and PRs, enable automatic bot detection (for GitHub) and define custom mapping rules in [Delivery Performance general settings][12].
https://developers.google.com/style/sentence-structure
could we make "To measure your coding tools more fully" more specific? I made a similar suggestion above, something like "To more completely capture your AI coding tools' activity,"
I think it's worth calling this setting out on this page, but this placement at the end of the Overview feels a lil random. it might be worth adding a section under Customize Change Failure Detection called like, "Make additional configurations" and housing it there?
kind of nit: Datadog only points you to a recommended source for coding assistants, not the other two types of tools, right?
I guess relatedly, this overview/intro feels a bit coding assistant-centric, with the intro paragraph talking only about AI attribution for commits/PRs. maybe we add mention of the other two tool types?
what do you think about adding a row to this table for "Sources"? I think that would help me tie these concepts together
so the "Direct attribution" column would have (I think) " - Datadog integrations (Cursor only) - PR label detection - Co-author signatures"
and the "Inferred from user activity" column would have " - Datadog integrations (except Cursor) - PR label detection - OpenTelemetry"
*put this in both categories since the UI says "PR Labels Direct and Inferred" (I actually would love the PR label detection dropdown to explain how that is)
(also I'm not sure about API; I would have thought it was direct, but its blurb says, "Datadog infers AI assistance from the user activity you report.")
Each [source][link to sources section] emits signals that provide **direct attribution**, attribution **inferred from user activity**, or both.
"are available" makes it sound like it's something you choose, when really it's a quality inherent to the source
[link to sources section] refers to this suggestion
I see that "non-AI" is actually used in the UI, but it sounds a bit awkward dropped in here. I'd suggest either:
Datadog detects some AI activity automatically after [DORA Metrics][1] is set up with deployment, commit, and pull request data.
can we specify which AI activity is tracked with only DORA Metrics set up? as a user, I think I'd want to know what I get from that to know if I'd also need to set up AI Impact
I would guess at least "Co-author signatures" would be captured
I think I'd delete this, or at least move it out of being a bullet, which sets the expectation that it'll be a real prereq
it'd also be helpful to clarify what "initial data" is—see this comment
noice work!
Not sure how this makes a meaningful difference to readers. It's wordier, and renders awkwardly:
<img width="345" height="101" alt="image" src="https://github.com/user-attachments/assets/dd496c83-f484-4c65-be5b-e7c4d07422d1" />
<a target='_blank' href='https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob+%40ci.status%3Aerror+%40git.commit.sha%3A8cfc2a4d4f4c1d5c6eca17d63696ccf0bfcef973&referrer=pr-comment&start=1791383583000'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-error.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-error-light.svg" alt="Pipelines" align="center" /></picture></a>
❌ Errors
Your PR has failed checks. Please review the issues below and take necessary action before merging.
🚦 2 Pipeline jobs failed
<blockquote>
<div>
<details open>
<summary>DataDog/documentation | build_preview</summary>
<a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RvY3VtZW50YXRpb24vNDAxMjE=?referrer=pr-comment&buildId=AwAAAaEW7fFYHP8ilwAAABhBYUVXN2ZGWUFBQVlaakFEWTBDdGdXMkEAAAAkMDFhMTE2ZWYtYjY3OC00NDAxLWJmZTAtMmE5MzNmNTFlN2RkAAAqgA&ciFailurePanel=job">View more details</a> · <a href="https://gitlab.ddbuild.io/DataDog/documentation/-/jobs/2117947812">View in GitLab</a>
</details>
<details open>
<summary>DataDog/documentation | failure_notification_preview</summary>
<a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RvY3VtZW50YXRpb24vNDAxMjE=?referrer=pr-comment&buildId=AwAAAaEW7x4g03BhjAAAABhBYUVXN3g0Z0FBQ3NNUUZfOVFnOTVHMkEAAAAkMDFhMTE2ZjAtNmEyOC00MTY1LTkxNmQtM2M4OGE3NTQzZjVlAAApzg&ciFailurePanel=job">View more details</a> · <a href="https://gitlab.ddbuild.io/DataDog/documentation/-/jobs/2117947919">View in GitLab</a>
</details>
</div>
</blockquote>
Useful? React with 👍 / 👎
<sub>
This comment will be updated automatically if new data arrives. <br />
🔗 Commit SHA: 8cfc2a4 | <a href="https://docs.datadoghq.com/integrations/guide/source-code-integration/#pr-comments">Docs</a> | <a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RvY3VtZW50YXRpb24vNDAxMjE=?referrer=pr-comment">View more details</a> | Give us <a href="https://dd.enterprise.slack.com/archives/C07E3U2QRMM">feedback</a>!
</sub>
Datadog detects AI activity from co-author signatures automatically after [DORA Metrics][1] is set up with deployment, commit, and pull request data. To more completely capture your AI coding tools' activity, see [Set Up AI Impact][2] to configure tools and sources for AI Impact.
[AI Impact][1] classifies each pull request as {{< ui >}}AI-assisted{{< /ui >}} or {{< ui >}}non-AI{{< /ui >}} based on the sources it detects for your AI coding tools. A source is a signal that an AI coding tool contributed to a commit.
By default, the AI Impact dashboard displays metrics using the most precise attribution mode that all [integrated tools](#supported-ai-coding-assistants-and-sources) have in common, so that metrics are comparable across tools on an equal basis. For example, if you're using only Cursor, metrics use direct attribution because that's the most precise method available. If you're using both Cursor and Claude Code, metrics are inferred from user activity because direct attribution is not available for Claude Code.
Both patterns are pretty common throughout the repo, and AFAIK doesn't affect the output.
Datadog helps you get started with all three types of tools, but this was indeed phrased too closely around coding assistants. Revised separately (had to use a separate comment to capture it all)
[AI Impact][1] classifies each pull request as {{< ui >}}AI-assisted{{< /ui >}} or {{< ui >}}non-AI{{< /ui >}} based on the sources it detects for your AI coding tools. A source is a signal that an AI coding tool contributed to a commit or PR.
Configure your AI coding tools and sources at [{{< ui >}}Software Delivery{{< /ui >}} > {{< ui >}}Delivery Performance{{< /ui >}} > {{< ui >}}Settings{{< /ui >}} > {{< ui >}}AI Impact{{< /ui >}}][2]. Datadog points you to the recommended source for the most accurate classification for each coding assistant, and preset mapping rules help detect activity from common review agents and autonomous agents.
No AI-specific configuration is required to see initial data. For more complete measurement, configure your AI coding tools and sources as described below.
even noicer!
clreaume
joepeeples
<!-- Note: Please remember to review the Datadog Documentation Contribution Guidelines if you have not yet done so. -->
What does this PR do? What is the motivation?
Docs for new AI Impact setup UI and flows.
Merge readiness
<!--
If you're waiting for a release or there are other considerations that you want us to be aware of, list them here. If the PR is ready to be merged once it receives the required reviews, check the box above after you've created the PR.
-->
For Datadog employees:
<name>/<description>convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR./reviewto run an automated check that catches common issues before a Documentation team member reviews your PR.AI assistance
<!-- If you used AI tools (Claude Code, GitHub Copilot, Cursor, etc.) while working on this PR, briefly note how. This helps reviewers understand the contribution. Examples: "Used Claude Code for initial draft", "Copilot autocomplete for code examples", "AI-assisted research, manually written". Leave blank if not applicable. -->
Claude Code drafted, I revised and trimmed.
Additional notes
<!-- Anything else we should know when reviewing?-->
<!-- Previewing the PR: Assuming you are a Datadog employee and named your branch
<yourname>/<description>, a preview build will run and links to the preview output will be auto-generated and posted in the PR comments. The links will 404 until the preview build is finished running. -->