Skip to content

[Data Observability] Document AI review of anomalies and correct the training period - #42071

Draft
kevinzenghu wants to merge 8 commits into
masterfrom
kevinzenghu/do-anomaly-guide-ai-reviewer
Draft

kevinzenghu wants to merge 8 commits into
masterfrom
kevinzenghu/do-anomaly-guide-ai-reviewer

Conversation

@kevinzenghu

@kevinzenghu kevinzenghu commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

The anomaly detection guide now explains the AI review that anomaly monitors run on newly flagged points: when a point is dismissed or alerts, what happens if the review doesn't run or finish, the rule for Row Count zeros, and how Model Instructions steer the review. The guide also gains a model configuration section and a corrected training period with per-metric rules, including the job duration rule and its wider first-week bound. The Model Instructions row on the Data Observability monitor page links to the new section, and the guide is added to the sidebar under Quality Monitoring > Guides.

Merge readiness

  • Ready for merge

AI assistance

Drafted with Claude Code. Product behavior was checked against the product source code.

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <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.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

Additional notes

  • Confirm phase: the AI review of flagged points has no Preview label in the product. The new section has no banner.
  • Phase: model configuration stays in Preview, matching the monitor page.
  • Phase: job duration monitors are generally available, so the training period list doesn't label them Preview.
  • Engineering: confirm two statements: the review doesn't run for organizations whose settings don't allow AI model providers, such as HIPAA-enabled organizations, and job duration monitors that use Anomalies are reviewed.
  • The training period changes from "3 to 9 days" (guide) to typically 3 to 7 days, or about 9 days for a monitor that runs once a day. [Data Observability] Expand monitor page: schema change filters, schedules, Custom SQL, source to target #42077 puts the same statement on the monitor page. The job duration rule (at least five completed runs over at least 1 day, plus a full weekday of runs or more than 7 days of history) matches the monitor page in [Data Observability] Expand monitor page: schema change filters, schedules, Custom SQL, source to target #42077.
  • The minimum bound size example no longer mentions seconds. Engineering: confirm whether minimum bound sizes apply to Freshness monitors. The monitor page's settings table gives a Freshness example in seconds.
  • On the monitor page, only the Model Instructions row changes, with an inline link to the guide. [Data Observability] Expand monitor page: schema change filters, schedules, Custom SQL, source to target #42077 owns the rest of that page, so the two PRs merge without conflicts.
  • This PR doesn't depend on other open PRs. Links to related pages that other open PRs add follow in a separate PR after they merge.

Screenshots to add:

  • data_observability/quality_monitoring/guides/anomaly_detection.md, after the chart color table in the training period section: the monitor status page of a Row Count monitor that has finished training, with the chart's observed values, the shaded expected bounds, and a point outside the bounds in the alerting color.

Each location is marked in the page with an <!-- SCREENSHOT: ... --> comment. Use sample data only.

🤖 Generated with Claude Code

kevinzenghu and others added 3 commits November 21, 2026 14:24
…ning period

Add the AI review of flagged points, Model Instructions behavior, and the
data the reviewer receives to the anomaly detection guide. Add a model
configuration section, state the training period rules per monitor
cadence and metric type, align the training period on the Data
Observability monitor page, and add the guide to the sidebar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Correct the Row Count training rule, split the Custom SQL and single-value
rules, describe the Sensitivity slider by its labels, drop the seconds
example for minimum bound sizes, and tighten the review outcomes. Split
long sentences.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the Architecture Everything related to the Doc backend label Nov 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

kevinzenghu and others added 5 commits November 21, 2026 21:35
- Monitor page: revert the training sentence, which moves to the monitor
  page PR, and link the Model Instructions row to the guide's section.
- Guide: state the job duration training exit after 7 days and the wider
  first-week upper bound, note that job duration monitors are reviewed and
  that the review doesn't run where the organization doesn't allow AI model
  providers, and explain Alert after N consecutive anomalies.
- Use UI label formatting for detection methods and Custom SQL model types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DataDog/documentation PR 41959 renames the Quality Monitoring "Guides" nav entry to
"How-To Guides", which the left nav needs before it shows any guide as a child, and adds
the Anomaly Detection entry with it. Adding the same entry here would duplicate its
identifier and conflict with that PR, so this PR no longer edits the menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the Architecture Everything related to the Doc backend label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant