Skip to content

[Data Observability] Expand monitor page: schema change filters, schedules, Custom SQL, source to target - #42077

Draft
kevinzenghu wants to merge 13 commits into
masterfrom
kevinzenghu/do-monitor-page-gaps
Draft

kevinzenghu wants to merge 13 commits into
masterfrom
kevinzenghu/do-monitor-page-gaps

Conversation

@kevinzenghu

@kevinzenghu kevinzenghu commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

The Data Observability monitor page now explains how to filter a schema change monitor to one kind of change with change_type, and corrects the change type descriptions. It covers how Custom SQL validation and grouping work, including on databases that connect through the Datadog Agent, the errors that validation returns, the Default schedule option, and that custom schedules run in UTC without adjusting for daylight saving time. It also documents one-sided anomaly alerts with the model_bounds_override API field, the training rule for job duration monitors, the required Group by tags for job monitors, which job runs are evaluated while in progress, how to require source and target to match, case-insensitive asset filters, monitors whose query matches no assets, and how table freshness behaves after a load that inserts no rows.

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

  • Model configuration: Freshness monitors don't use the minimum upper and lower bound size settings, so the settings table no longer gives a Freshness example in seconds. Engineering: confirm this is intended.
  • Phase: job duration monitors are generally available, so the page removes their Preview label.
  • Phase: model configuration stays in Preview. The callout no longer says to contact a Datadog representative, because the settings appear in the monitor form for every organization.
  • Confirm access: the source to target callout keeps "Contact your Datadog representative or support to request access." The monitor type appears in the monitor form for every organization, so confirm whether the access sentence still applies.
  • One-sided alerts: the monitor form doesn't include an Alert direction setting, so the page documents the model_bounds_override field in the tuning guidelines instead of the Model configuration table. If the form adds the setting, add a table row for it.
  • Default schedule: the page says Default schedule is selected for new data quality monitors, runs each time Datadog collects metrics from the warehouse (typically every hour), and isn't offered for source to target monitors. Confirm the wording.
  • Manual schedule: the page says Manual monitors don't run on databases that connect through the Datadog Agent, and that switching an existing monitor between Scheduled and Manual hides the earlier values until you switch back.
  • Custom SQL: on databases that connect through the Datadog Agent, Validate checks the query's syntax without running it, so group columns go in the Group by field. Grouped Custom SQL queries are supported on these databases.
  • The required Group by tags for job monitors match the tags that existing job monitors use, for example name, platform, workspace_id, and workspace_name for Databricks, and name and env for Spark. Confirm the custom OpenLineage, dbt Core, Airflow, AWS Glue, and Azure Data Factory rows with the job monitor owners.
  • Job duration training: the page states the model's rule (at least five completed runs over at least 1 day, plus a full weekday of runs or more than 7 days of history) and links the anomaly detection guide, which states the same rule.
  • Schema change platforms: the list adds ClickHouse Cloud, with a note that Data Observability for ClickHouse Cloud is in Preview. The search description no longer names a form section, because the section label differs between monitor forms.
  • The Preview notes for source to target and schema change monitors use the callout shortcode, like the model configuration note.
  • The threshold comparison labels in Detection method now match the product (more than, less than, and so on), and the threshold fields use the product labels Alert threshold and Warning threshold.
  • Percent Difference: the page describes the value as a percentage of the source value, which is how the monitor computes it. The option's description in the product says "a percentage of the target". Confirm which one the product copy should say.
  • The Group by section says the default limit is 500 groups per monitor. Confirm that number, because the Custom SQL group limit error links to that section.
  • How job duration is evaluated lists the technologies whose runs are evaluated while in progress (Airflow DAGs and tasks, AWS Glue jobs, dbt jobs, and custom OpenLineage jobs) and those evaluated at completion. Confirm the list.
  • The dbt bullet under "How job duration is evaluated" says dbt Cloud jobs are evaluated while they run when the webhook sends the Run started event. dbt Cloud models and tests are still evaluated at completion.
  • The source to target row count example uses a threshold, because anomaly detection does not alert on a difference that exists when the monitor is created.
  • This PR and Document freshness and row count filters and Aastra query syntax for Data Observability monitors #41121 both edit the asset selection section of this page and both add reference definitions at the end of the file. Whichever merges second needs a rebase, and Document freshness and row count filters and Aastra query syntax for Data Observability monitors #41121's [14] becomes [22].
  • This PR documents the monitor form. The API and Terraform equivalents are in [Data Observability] Add guide for creating monitors with the API or Terraform #41959. After [Data Observability] Add guide for creating monitors with the API or Terraform #41959 merges, link its guide from the Custom SQL, Schedule, Model configuration, and schema change sections.
  • [Data Observability] Document AI review of anomalies and correct the training period #42071 now edits only the Model Instructions row of this page, so the two PRs merge without conflicts.
  • Vale: the only new warning is "Percent", which is the product's UI label.
  • 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:

  • monitors/types/data_observability.md, Monitor schedule, after the Custom schedule paragraph: the schedule section of a new data quality monitor with Custom schedule selected and a sample cron expression, showing the Run this monitor menu, the Cron tab field, and the Next 3 Runs list.

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

🤖 Generated with Claude Code

kevinzenghu and others added 2 commits November 21, 2026 14:43
…ules, source to target

- Document schema change search fields and change_type values, and add ClickHouse Cloud
- Clarify Custom SQL validation, grouping, and errors
- Document UTC cron schedules, daylight saving time, and manual monitor behavior
- Add Alert direction to model configuration
- Add source to target filtering and threshold guidance
- Clarify which job runs are evaluated while in progress
- Note how table freshness is derived and how to catch zero-row loads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

kevinzenghu and others added 4 commits November 21, 2026 21:34
- Model configuration: drop the contact-your-representative sentence, and
  describe one-sided alerts as the API and Terraform model_bounds_override
  setting instead of a form setting.
- Monitor schedule: document Default schedule and the Scheduled/Manual
  history behavior, and note that Manual monitors don't run on Agent-based
  databases.
- Custom SQL: Agent-based databases validate syntax without running the query.
- Job duration: state the training rules and link the anomaly guide. The
  Anomalies bullet now carries the training period and links the guide.
- Use the callout shortcode for Preview notes, keep the schema change
  platform list to the four GA warehouses, and use form-neutral wording for
  the schema change search.

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>
kevinzenghu and others added 2 commits November 21, 2026 21:42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kevinzenghu and others added 5 commits November 22, 2026 06:50
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Custom SQL tab used [17] and [22], and the job duration Anomalies tab used [20], with
definitions only at the bottom of the page. Hugo renders tab content separately, so those
links showed as literal "[17]" text. The definitions now sit inside each tab. [17] stays at
the bottom too because text outside the tabs uses it; [20] and [22] don't, so their
page-level copies are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ess ignores minimum bound sizes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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