From 0bd8896f2f0ed8c46c0d3bd16cf04417cc30e163 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sat, 21 Nov 2026 14:33:12 -0500 Subject: [PATCH 1/7] Add SQL Server and MySQL Data Observability pages and update overhead page Add Preview setup pages for SQL Server and MySQL quality monitoring, list them on the transactional databases index and in the sidebar, and add the missing Fabric, Hex, and Azure Data Factory links to the Quality Monitoring source list. On the integration overhead page, list the monitor schedule options and add tabs for Redshift, ClickHouse Cloud, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server. Co-Authored-By: Claude Opus 5.5 --- hugo/config/_default/menus/main.en.yaml | 10 + .../integration_overhead.md | 116 ++++++++-- .../quality_monitoring/_index.md | 5 + .../transactional_databases/_index.md | 2 + .../transactional_databases/mysql.md | 206 ++++++++++++++++ .../transactional_databases/sql_server.md | 219 ++++++++++++++++++ 6 files changed, 538 insertions(+), 20 deletions(-) create mode 100644 hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md create mode 100644 hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md diff --git a/hugo/config/_default/menus/main.en.yaml b/hugo/config/_default/menus/main.en.yaml index 87d5a07d9cd9..020ea5eefc9e 100644 --- a/hugo/config/_default/menus/main.en.yaml +++ b/hugo/config/_default/menus/main.en.yaml @@ -5714,6 +5714,16 @@ menu: identifier: data_obs_postgres parent: transactional_databases weight: 1000000 + - name: MySQL + url: data_observability/quality_monitoring/transactional_databases/mysql + identifier: data_obs_mysql + parent: transactional_databases + weight: 2000000 + - name: SQL Server + url: data_observability/quality_monitoring/transactional_databases/sql_server + identifier: data_obs_sql_server + parent: transactional_databases + weight: 3000000 - name: ELT Integrations url: data_observability/quality_monitoring/elt identifier: elt_integrations diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index b32315c6eea0..e4e066d3f190 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -23,14 +23,14 @@ further_reading: Data Observability monitors your data through two products, each with a different overhead profile: -- **Quality Monitoring** evaluates data-quality metrics (such as freshness, row count, and column statistics) on a schedule. Depending on the warehouse and metric, an evaluation either reads table metadata or runs a SQL query against your data, so its cost is measured in **warehouse compute** (for example, Snowflake credits, Databricks DBUs, or BigQuery bytes scanned). +- **Quality Monitoring** evaluates data-quality metrics (such as freshness, row count, and column statistics) on a schedule. Depending on the warehouse and metric, an evaluation either reads table metadata or runs a SQL query against your data, so its cost is measured in **warehouse compute** (for example, Snowflake credits, Databricks DBUs, or BigQuery bytes scanned). On PostgreSQL, MySQL, and SQL Server, the Datadog Agent runs these queries against your database, so the cost is load on your database server. - **Jobs Monitoring** observes the performance of your jobs by running the **Datadog Agent** on your compute (for example, Databricks or Spark clusters). The Agent shares a small amount of the CPU and memory you already provision for your workloads. This page describes both overhead sources and how to control them. Actual cost depends heavily on your environment: warehouse size, the amount of data scanned, how often monitors run, and warehouse auto-stop settings. This page focuses on what consumes resources, not a single benchmark number. ## Quality Monitoring overhead -A Data Observability monitor evaluates its metric on a fixed schedule that you choose: **hourly** or **daily**. Each time a monitor runs, Data Observability collects the metric value, either by reading table metadata or by running a query against your data. How each metric is collected depends on the warehouse. +A Data Observability monitor evaluates its metric on the schedule you set in [Monitor schedule][1]: {{< ui >}}Hourly{{< /ui >}}, {{< ui >}}Every 3 hours{{< /ui >}}, {{< ui >}}Every 6 hours{{< /ui >}}, {{< ui >}}Every 12 hours{{< /ui >}}, {{< ui >}}Daily{{< /ui >}}, or a {{< ui >}}Custom schedule{{< /ui >}} cron expression that runs as often as every 15 minutes. A {{< ui >}}Manual{{< /ui >}} (Preview) monitor runs only when triggered through the API, and doesn't run on PostgreSQL, MySQL, or SQL Server. Each time a monitor runs, Data Observability collects the metric value, either by reading table metadata or by running a query against your data. How each metric is collected depends on the platform. Data Observability support for ClickHouse Cloud, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server is in Preview. {{< tabs >}} {{% tab "Snowflake" %}} @@ -47,7 +47,7 @@ On Databricks, every metric is collected by running a SQL statement on the SQL w | Metric | Statement run on the SQL warehouse | Notes | |---|---|---| | **Row count** | `SELECT COUNT(1) FROM ` | An aggregate query against the table. The data actually scanned depends on table size and Delta optimizations such as data skipping and statistics. | -| **Table freshness** (base table) | `SELECT timestamp FROM (DESCRIBE HISTORY
LIMIT 1)` | A lightweight metadata command—scans little data, but still runs on the warehouse, so the warehouse must be active. | +| **Table freshness** (base table) | `SELECT timestamp FROM (DESCRIBE HISTORY
LIMIT 1)` | A lightweight metadata command that scans little data. It still runs on the warehouse, so the warehouse must be active. | | **Table freshness** (materialized view) | `DESCRIBE TABLE EXTENDED
` | Lightweight metadata command. | | **Table freshness** (standard view) | *(no query)* | Views have no freshness query and add no overhead; use column-level freshness instead. | | **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | @@ -60,6 +60,81 @@ On BigQuery, **row count** and **table freshness** are read through BigQuery's t **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, and column-level freshness) and **Custom SQL** run as BigQuery SQL against your tables and are billed by the data they process—bytes scanned under on-demand pricing, or slot time under capacity pricing. Column metrics on the same table that share the same filter and grouping are combined into a single query. +{{% /tab %}} +{{% tab "Redshift" %}} + +On Redshift, every metric is collected by running a SQL query on the provisioned cluster or Serverless workgroup you connect, so each evaluation uses Redshift compute. + +| Metric | Statement run on Redshift | Notes | +|---|---|---| +| **Row count** | `SELECT COUNT(1) FROM
` | An aggregate query against the table. | +| **Table freshness** | *(no query)* | Redshift has no table freshness monitor. Use column-level freshness instead. | +| **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | +| **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | + +{{% /tab %}} +{{% tab "ClickHouse Cloud" %}} + +On ClickHouse Cloud, **row count** and **table freshness** are read from table metadata rather than by scanning the table. Datadog reads `total_rows` from `system.tables` and the modification time of the latest active part from `system.parts`, and batches many tables into a single query. Tables with no stored row count, such as `Distributed` tables, the `Log` engine family, and materialized views defined with `TO`, use `SELECT COUNT(1) FROM
` for row count instead. + +**Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, and column-level freshness) and **Custom SQL** run as `SELECT` queries against your tables. Column metrics on the same table that share the same filter and grouping are combined into a single query. Row count and column metrics never query tables with a stream or remote engine, such as `Kafka`, `S3Queue`, or `MySQL`. Only custom SQL monitors run on those tables. + +All of these queries run on your ClickHouse Cloud service. Datadog reads table metadata every hour, and a query against an idle service wakes it up and uses compute. + +{{% /tab %}} +{{% tab "Microsoft Fabric Warehouse" %}} + +On Microsoft Fabric Warehouse, every metric is collected by running a T-SQL query on the warehouse's SQL endpoint. + +| Metric | Statement run on the SQL endpoint | Notes | +|---|---|---| +| **Row count** | `SELECT COUNT_BIG(1) FROM
` | An aggregate query against the table. | +| **Table freshness** | *(no query)* | Fabric doesn't expose a table-level last-modified time, so there is no table freshness monitor. Use column-level freshness instead. | +| **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | +| **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | + +{{% /tab %}} +{{% tab "PostgreSQL" %}} + +On PostgreSQL, the Datadog Agent runs every monitor query against your database through its Postgres check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time. + +| Metric | Statement the Agent runs | Notes | +|---|---|---| +| **Row count** | `SELECT COUNT(1) FROM
` | An aggregate query against the table. | +| **Table freshness** | *(no query)* | PostgreSQL has no table freshness monitor. Use column-level freshness instead. | +| **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | +| **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | + +Separately from monitor queries, the Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). + +{{% /tab %}} +{{% tab "MySQL" %}} + +On MySQL, the Datadog Agent runs every monitor query against your database through its MySQL check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time over a single connection. If the same database user also runs Database Monitoring, Data Observability uses one additional connection. + +| Metric | Statement the Agent runs | Notes | +|---|---|---| +| **Row count** | `SELECT COUNT(1) FROM .
` | An aggregate query against the table. | +| **Table freshness** | *(no query)* | MySQL has no table freshness monitor. Use column-level freshness instead. | +| **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | +| **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | + +Separately from monitor queries, the Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). + +{{% /tab %}} +{{% tab "SQL Server" %}} + +On SQL Server, the Datadog Agent runs every monitor query against your database through its SQL Server check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time. Queries against the same database share one connection. + +| Metric | Statement the Agent runs | Notes | +|---|---|---| +| **Row count** | `SELECT COUNT_BIG(1) FROM
` | An aggregate query against the table. | +| **Table freshness** | *(no query)* | SQL Server has no table freshness monitor. Use column-level freshness instead. | +| **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | +| **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | + +Separately from monitor queries, the Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`), as part of Database Monitoring. + {{% /tab %}} {{< /tabs >}} @@ -67,16 +142,16 @@ On BigQuery, **row count** and **table freshness** are read through BigQuery's t Warehouse compute consumed by Quality Monitoring scales with: -- **Cadence**: an hourly monitor reruns its query 24 times as often as a daily monitor. +- **Cadence**: an hourly monitor reruns its query 24 times as often as a daily monitor, and a custom schedule that runs every 15 minutes reruns it 96 times a day. - **Number of distinct queries**: cost scales with the number of distinct *(table, filter, grouping)* combinations being monitored, not the raw number of metrics. Multiple column metrics on the same table are batched into one query. -- **Data scanned per query**: column-statistic queries (and Custom SQL) are aggregates that scan table data, so larger tables and partitions cost more on every warehouse. Row count scans the table only on Databricks (`COUNT`); on Snowflake and BigQuery it is a metadata read that does not grow with table size. Freshness checks are lightweight everywhere: metadata reads on Snowflake and BigQuery, and metadata commands on Databricks. -- **Warehouse warm time**: on warehouse-based platforms (Snowflake, Databricks), the dominant factor on most bills is how long your warehouse stays running. Frequent checks against a warehouse with a long idle timeout keep it warm and accrue cost even between queries. BigQuery on-demand is serverless and bills only by bytes scanned, so it has no warm-time cost. +- **Data scanned per query**: column-statistic queries (and Custom SQL) are aggregates that scan table data, so larger tables and partitions cost more on every warehouse. Row count runs `COUNT` against the table on Databricks, Redshift, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server. On Snowflake, BigQuery, and ClickHouse Cloud, it is a metadata read that does not grow with table size, except for ClickHouse tables with no stored row count. Table freshness is lightweight where it is available: metadata reads on Snowflake, BigQuery, and ClickHouse Cloud, and metadata commands on Databricks. On the other platforms, track freshness with column-level freshness, which is an aggregate over the column. +- **Warehouse warm time**: on warehouse-based platforms (Snowflake, Databricks), the dominant factor on most bills is how long your warehouse stays running. Frequent checks against a warehouse with a long idle timeout keep it warm and accrue cost even between queries. BigQuery on-demand is serverless and bills only by bytes scanned, so it has no warm-time cost. On ClickHouse Cloud, a query against an idle service wakes it up. Data Observability runs these queries with bounded concurrency and a per-query timeout. A backlog of monitors does not flood your warehouse with unbounded parallel queries. ### Reducing Quality Monitoring overhead -- **Choose daily over hourly** for metrics that do not need hourly resolution. +- **Choose a less frequent schedule**, such as {{< ui >}}Every 12 hours{{< /ui >}} or {{< ui >}}Daily{{< /ui >}}, for metrics that do not need hourly resolution. - **Monitor the tables and columns that matter.** Cost scales with the number of distinct queries; focus on critical tables rather than monitoring everything. - **Add a `WHERE` clause** to scope a monitor to recent partitions or a relevant data segment, reducing the data scanned. - **Group column metrics on the same table** so they batch into a single query. @@ -102,7 +177,7 @@ On Databricks **classic** clusters (all-purpose or job clusters), the Agent is i The Agent is a lightweight process that shares the CPU and memory you already provision for your workloads. It does not add separate, Datadog-provisioned compute to classic clusters. -Jobs Monitoring traces are coarse-grained. The Spark integration emits one span per application, job, stage, SQL execution, and streaming micro-batch, plus one span for each *failed* task. Successful tasks are aggregated into stage-level metrics instead of emitting individual spans. As a result, trace volume scales with a job's number of stages and jobs, not its task count or data volume. Trace throughput therefore stays low for typical jobs. The larger contributors to the Agent's footprint are Spark metric collection and, if enabled, log collection. For the Datadog SDK's resource profile, see [APM Agent resource usage][1]. +Jobs Monitoring traces are coarse-grained. The Spark integration emits one span per application, job, stage, SQL execution, and streaming micro-batch, plus one span for each *failed* task. Successful tasks are aggregated into stage-level metrics instead of emitting individual spans. As a result, trace volume scales with a job's number of stages and jobs, not its task count or data volume. Trace throughput therefore stays low for typical jobs. The larger contributors to the Agent's footprint are Spark metric collection and, if enabled, log collection. For the Datadog SDK's resource profile, see [APM Agent resource usage][2]. The cluster Agent issues no queries against your warehouse, so it adds no warehouse cost on its own. @@ -112,31 +187,32 @@ The cluster Agent issues no queries against your warehouse, so it adds no wareho ### Databricks cost data -Jobs Monitoring can surface the DBU cost of your Databricks jobs. This cost data is read from Datadog's own cost metrics; collecting it does not add queries to your monitored clusters. Populating Databricks cost requires the Datadog Databricks cost integration, which reads from Databricks system tables through a SQL warehouse you grant access to. For the required permissions, see the [Jobs Monitoring for Databricks setup][2]. +Jobs Monitoring can surface the DBU cost of your Databricks jobs. This cost data is read from Datadog's own cost metrics; collecting it does not add queries to your monitored clusters. Populating Databricks cost requires the Datadog Databricks cost integration, which reads from Databricks system tables through a SQL warehouse you grant access to. For the required permissions, see the [Jobs Monitoring for Databricks setup][3]. ### OpenLineage-based integrations -Apache Airflow, dbt, and custom pipelines are monitored without the Datadog Agent. Instead, an open source [OpenLineage][3] integration emits lineage events to Datadog. These components are maintained by the OpenLineage and Apache Airflow projects, and their configuration and performance are documented in their respective project documentation. The overhead is the integration's, not the Datadog Agent's. +Apache Airflow, dbt, and custom pipelines are monitored without the Datadog Agent. Instead, an open source [OpenLineage][4] integration emits lineage events to Datadog. These components are maintained by the OpenLineage and Apache Airflow projects, and their configuration and performance are documented in their respective project documentation. The overhead is the integration's, not the Datadog Agent's. These integrations capture run, job, and dataset metadata and emit events at run lifecycle points. The cost is proportional to the number of runs, tasks, and the metadata collected, not to your data volume. -- **Airflow**: the [`apache-airflow-providers-openlineage`][4] provider runs in your Airflow schedulers and workers and emits an event at task and DAG lifecycle points. Its [configuration reference][5] documents options that affect overhead, such as selectively enabling OpenLineage and limiting collected metadata. -- **dbt**: for dbt Core, the [`openlineage-dbt`][6] wrapper (`dbt-ol`) follows dbt's structured logs and emits events as the run progresses. Because it reads logs rather than instrumenting execution, it does not affect dbt's performance. dbt Cloud sends job-run events to Datadog through a webhook, with no component running in your environment. +- **Airflow**: the [`apache-airflow-providers-openlineage`][5] provider runs in your Airflow schedulers and workers and emits an event at task and DAG lifecycle points. Its [configuration reference][6] documents options that affect overhead, such as selectively enabling OpenLineage and limiting collected metadata. +- **dbt**: for dbt Core, the [`openlineage-dbt`][7] wrapper (`dbt-ol`) follows dbt's structured logs and emits events as the run progresses. Because it reads logs rather than instrumenting execution, it does not affect dbt's performance. dbt Cloud sends job-run events to Datadog through a webhook, with no component running in your environment. - **Custom pipelines**: you emit events yourself with the OpenLineage client or a raw HTTP call, so the overhead is whatever your emitting code does. -For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineage][7]. See the OpenLineage documentation for the full set of tuning and overhead controls. +For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineage][8]. See the OpenLineage documentation for the full set of tuning and overhead controls. ## Estimating your actual costs The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. -[1]: /tracing/troubleshooting/agent_apm_resource_usage/ -[2]: /data_observability/jobs_monitoring/databricks/ -[3]: https://openlineage.io/docs/integrations/about -[4]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/ -[5]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/configurations-ref.html -[6]: https://openlineage.io/docs/integrations/dbt -[7]: /data_observability/jobs_monitoring/openlineage/ +[1]: /monitors/types/data_observability/#monitor-schedule +[2]: /tracing/troubleshooting/agent_apm_resource_usage/ +[3]: /data_observability/jobs_monitoring/databricks/ +[4]: https://openlineage.io/docs/integrations/about +[5]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/ +[6]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/configurations-ref.html +[7]: https://openlineage.io/docs/integrations/dbt +[8]: /data_observability/jobs_monitoring/openlineage/ ## Further reading diff --git a/hugo/content/en/data_observability/quality_monitoring/_index.md b/hugo/content/en/data_observability/quality_monitoring/_index.md index 5c091657173d..e718471e3afd 100644 --- a/hugo/content/en/data_observability/quality_monitoring/_index.md +++ b/hugo/content/en/data_observability/quality_monitoring/_index.md @@ -45,6 +45,7 @@ With Quality Monitoring, you can: {{< nextlink href="data_observability/quality_monitoring/data_warehouses/bigquery" >}}BigQuery{{< /nextlink >}} {{< nextlink href="data_observability/quality_monitoring/data_warehouses/redshift" >}}Redshift{{< /nextlink >}} {{< nextlink href="data_observability/quality_monitoring/data_warehouses/clickhouse" >}}ClickHouse Cloud{{< /nextlink >}} + {{< nextlink href="data_observability/quality_monitoring/data_warehouses/fabric" >}}Microsoft Fabric Warehouse{{< /nextlink >}} {{< /whatsnext >}} {{< whatsnext desc="Connect to these data lake sources:" >}} @@ -54,6 +55,8 @@ With Quality Monitoring, you can: {{< whatsnext desc="Connect to these transactional databases:" >}} {{< nextlink href="data_observability/quality_monitoring/transactional_databases/postgres" >}}PostgreSQL{{< /nextlink >}} + {{< nextlink href="data_observability/quality_monitoring/transactional_databases/mysql" >}}MySQL{{< /nextlink >}} + {{< nextlink href="data_observability/quality_monitoring/transactional_databases/sql_server" >}}SQL Server{{< /nextlink >}} {{< /whatsnext >}} {{< whatsnext desc="Integrate with these transformation and orchestration tools:" >}} @@ -65,6 +68,7 @@ With Quality Monitoring, you can: {{< nextlink href="data_observability/jobs_monitoring/emr" >}}Spark on Amazon EMR{{< /nextlink >}} {{< nextlink href="data_observability/jobs_monitoring/dataproc" >}}Spark on Google Dataproc{{< /nextlink >}} {{< nextlink href="data_observability/jobs_monitoring/glue" >}}AWS Glue Jobs{{< /nextlink >}} + {{< nextlink href="data_observability/jobs_monitoring/azure_data_factory" >}}Azure Data Factory{{< /nextlink >}} {{< nextlink href="data_observability/jobs_monitoring/openlineage" >}}Custom Jobs using OpenLineage{{< /nextlink >}} {{< /whatsnext >}} @@ -75,6 +79,7 @@ With Quality Monitoring, you can: {{< /whatsnext >}} {{< whatsnext desc="Track downstream impact in these BI tools:" >}} + {{< nextlink href="data_observability/quality_monitoring/business_intelligence/hex" >}}Hex{{< /nextlink >}} {{< nextlink href="data_observability/quality_monitoring/business_intelligence/looker" >}}Looker{{< /nextlink >}} {{< nextlink href="data_observability/quality_monitoring/business_intelligence/tableau" >}}Tableau{{< /nextlink >}} {{< nextlink href="data_observability/quality_monitoring/business_intelligence/sigma" >}}Sigma{{< /nextlink >}} diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/_index.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/_index.md index 93db606f4dd9..8ca07f6b1151 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/_index.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/_index.md @@ -20,6 +20,8 @@ Use these integrations to: {{< whatsnext desc="Connect to these transactional databases:" >}} {{< nextlink href="data_observability/quality_monitoring/transactional_databases/postgres" >}}PostgreSQL{{< /nextlink >}} + {{< nextlink href="data_observability/quality_monitoring/transactional_databases/mysql" >}}MySQL{{< /nextlink >}} + {{< nextlink href="data_observability/quality_monitoring/transactional_databases/sql_server" >}}SQL Server{{< /nextlink >}} {{< /whatsnext >}} ## Further reading diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md new file mode 100644 index 000000000000..cef793689de1 --- /dev/null +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md @@ -0,0 +1,206 @@ +--- +title: MySQL +description: "Connect MySQL to Datadog Data Observability to monitor schemas, table dimensions, and row volumes." +further_reading: + - link: '/data_observability/' + tag: 'Documentation' + text: 'Data Observability Overview' + - link: '/monitors/types/data_observability/' + tag: 'Documentation' + text: 'Data Observability Monitors' + - link: '/database_monitoring/setup_mysql/' + tag: 'Documentation' + text: 'Database Monitoring for MySQL' + - link: '/remote_configuration/' + tag: 'Documentation' + text: 'Remote Configuration' +--- + +{{< callout url="#" btn_hidden="true" header="Preview" >}} +Data Observability for MySQL is in Preview. Contact your Datadog representative to enable it for your organization. +{{< /callout >}} + +## Overview + +The MySQL integration for Datadog Data Observability tracks table metadata, providing visibility into schemas, table dimensions, and row volumes across your environment. You can then create data quality monitors on your MySQL tables. + +MySQL is collected through the [Datadog Agent][1] rather than through a direct cloud connection like the [data warehouse integrations][2]. This page covers only the configuration needed for Data Observability. To set up the full suite of Database Monitoring features, see the [DBM setup guide for MySQL][3]. + +## Prerequisites + +Before you begin, make sure you have: + +- Datadog Agent `7.84.0` or later installed on a host that can reach your MySQL instances. See [Agent installation][1] for your platform. +- [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). +- Permission to create MySQL users and grant privileges. +- Preview access enabled for your organization by a Datadog representative. + +## Enable Remote Configuration + +Data Observability uses [Remote Configuration][4] to deliver monitor queries to the Agent. When you create a data quality monitor in Datadog, its query is pushed to the Agent that owns the instance, and the Agent's MySQL check runs it against your database on the monitor's schedule. + +Table metadata collection does not depend on Remote Configuration. If Remote Configuration is unavailable, your tables still appear in the catalog, but any monitor you create against them stays empty because the Agent never receives the query to run. + +Remote Configuration is on by default in most environments, but it has to be enabled in all three of the following places. Confirm each one: + + - **Your organization.** On the [Remote Configuration][5] settings page, confirm Remote Configuration is enabled. Enabling it requires the [`org_management`][6] permission. + - **The Agent's API key.** The API key the Agent uses must have the Remote Configuration capability. Check it on the [API Keys][7] page. This requires the [`api_keys_write`][6] permission. An Agent using a key without this capability reports an `UNAUTHORIZED` status. + - **The Agent.** `remote_configuration.enabled` defaults to `true` in Agent `7.47.0` and later, so usually there is nothing to change. Set it explicitly in [`datadog.yaml`][8] (or through `DD_REMOTE_CONFIGURATION_ENABLED`) in two cases: + + - It was previously set to `false`. + - The Agent reports to GovCloud (`ddog-gov.com`) or runs in FIPS mode. Remote Configuration is **disabled by default** in those environments and does not turn on unless you set it. + + ```yaml + remote_configuration: + enabled: true + ``` + + [Restart the Agent][9] after changing this setting. + +Each Agent's Remote Configuration status is also listed on the [Remote Configuration][5] settings page. For status descriptions and network requirements, see [Agent Remote Configuration status][10]. + +## Set up the Datadog database user + +1. Create the `datadog` user and grant its base permissions as described in [Grant the Agent access][11] for self-hosted MySQL, or in the equivalent step of the [setup guide for your hosting type][3]. If Database Monitoring already runs against this instance, the user exists, so skip this step. + +2. Grant `SELECT` on each database you want to track. Data Observability needs it to compute row counts, column-level metrics, and custom SQL results: + + ```sql + GRANT SELECT ON .* TO datadog@'%'; + ``` + + `SELECT` also makes the tables visible to schema collection, which only collects tables the user holds a privilege on. The `REFERENCES` privilege that Database Monitoring recommends for schema collection is not enough for Data Observability, because it does not allow reading table data. + +3. If the `datadog` user also runs Database Monitoring, raise its connection limit by one. Data Observability uses one additional connection, so the limit of `5` from the Database Monitoring setup becomes `6`: + + ```sql + ALTER USER datadog@'%' WITH MAX_USER_CONNECTIONS 6; + ``` + +### Restrict to specific tables (optional) + +To limit collection to a subset of tables, grant `SELECT` on each table instead of on the whole database: + +```sql +GRANT SELECT ON .orders TO datadog@'%'; +GRANT SELECT ON .users TO datadog@'%'; +``` + +## Configure the MySQL integration + +Edit the Agent's `conf.d/mysql.d/conf.yaml` file and add `collect_schemas` and `data_observability` to each MySQL instance you want to track. For a complete list of configuration options, see the [sample mysql.d/conf.yaml][12]. + +```yaml +init_config: +instances: + - host: + port: 3306 + username: datadog + password: '' + + ## Populates your tables in Data Observability + collect_schemas: + enabled: true + + ## Required for Data Observability + data_observability: + enabled: true +``` + +**Note**: If your password includes special characters, wrap it in single quotes. + +Schema collection (`collect_schemas`) populates your tables in Data Observability and is disabled by default on MySQL, so set `collect_schemas.enabled: true`. `dbm: true` is **not** required for Data Observability; set it only if you also use [Database Monitoring][3]. + +[Restart the Agent][9] to apply the changes. + +### Validate the configuration + +Run the Agent [status command][13] and confirm that the `mysql` check shows a `Total Runs` count greater than zero and a recent `Last Successful Execution` timestamp. On Linux: + +```shell +sudo datadog-agent status | grep -A 20 'mysql' +``` + +Then confirm the Agent is receiving Remote Configuration. The `Remote Configuration` section of the Agent status reports the organization and API key checks directly: + +```shell +sudo datadog-agent status | grep -A 10 'Remote Configuration' +``` + +A healthy Agent reports: + +```text +==================== +Remote Configuration +==================== + Organization enabled: True + API Key: Authorized + Last error: None +``` + +Anything else maps back to one of the three checks in [Enable Remote Configuration](#enable-remote-configuration): + +- `Organization enabled: False`: enable Remote Configuration for your organization. +- `API Key: Not authorized`: add the Remote Configuration capability to the API key this Agent uses. +- `Remote Configuration is disabled because ...`: it is turned off on the Agent itself. + +Until this section is healthy, your tables still sync but your monitors cannot run. + +## Explore your table metadata + +The Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). After the first collection, you can [view your MySQL tables][14] in the Data Observability catalog. + +If your tables do not appear, verify that: + +1. The Agent status shows the `mysql` check reporting successfully. +2. `collect_schemas.enabled: true` is set on the instance. +3. The `datadog` user has `SELECT` privileges on the target tables. Test with: + + ```shell + mysql -h -u datadog -p -e 'SELECT 1 FROM .orders LIMIT 1' + ``` + +4. A Datadog representative has enabled Preview access for your organization. + +## Create data quality monitors + +After your tables appear in the catalog, you can [create Data Observability monitors][15] on them. On MySQL, you can create: + +- **Row count**: Alert on volume fluctuations, such as sudden drops or plateauing trends. +- **Column-level metrics**: Monitor column attributes such as null ratios, cardinalities, or distribution shifts. +- **Custom SQL**: Alert on any `SELECT` query. The query must return exactly one numeric value aliased as `dd_value`. + +Table freshness monitors are not available for MySQL tables. To track freshness, create a freshness monitor on a datetime column. + +Monitors run on the schedule you set in [Monitor schedule][16]. Monitors set to {{< ui >}}Manual{{< /ui >}} don't run on MySQL, so select {{< ui >}}Scheduled{{< /ui >}}. Keep `SELECT` privileges in place for the `datadog` user on all referenced tables; monitors fail if access is revoked. + +A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui >}}. Monitor queries run only while the Agent is running, so if the Agent stops, your monitors record no values until it restarts. If a monitor reports no data, check that: + +- The Agent is running and the `mysql` check reports successfully. +- `data_observability.enabled: true` is set on the instance that connects to the monitored database. +- [Remote Configuration](#enable-remote-configuration) is enabled for your organization, for the Agent's API key, and on the Agent itself. + +## Known limitations + +Data Observability lists MySQL tables from instances where `dbm` and `collect_schemas` are enabled, including instances that do not have `data_observability.enabled: true`. Monitors on tables from those instances have no data. To fix this, add `data_observability.enabled: true` to the instance and grant the `SELECT` privileges in [Set up the Datadog database user](#set-up-the-datadog-database-user). + +## Further reading + +{{< partial name="whats-next/whats-next.html" >}} + +[1]: /agent/ +[2]: /data_observability/quality_monitoring/data_warehouses/ +[3]: /database_monitoring/setup_mysql/ +[4]: /remote_configuration/ +[5]: https://app.datadoghq.com/organization-settings/remote-config +[6]: /account_management/rbac/permissions/#permissions-list +[7]: https://app.datadoghq.com/organization-settings/api-keys +[8]: /agent/configuration/agent-configuration-files/#main-configuration-file +[9]: /agent/configuration/agent-commands/#start-stop-and-restart-the-agent +[10]: /agent/guide/setup_remote_config/#agent-remote-configuration-status +[11]: /database_monitoring/setup_mysql/selfhosted/#grant-the-agent-access +[12]: https://github.com/DataDog/integrations-core/blob/master/mysql/datadog_checks/mysql/data/conf.yaml.example +[13]: /agent/configuration/agent-commands/#agent-status-and-information +[14]: https://app.datadoghq.com/data-obs/catalog +[15]: /monitors/types/data_observability/ +[16]: /monitors/types/data_observability/#monitor-schedule diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md new file mode 100644 index 000000000000..ba9a03210574 --- /dev/null +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md @@ -0,0 +1,219 @@ +--- +title: SQL Server +description: "Connect SQL Server to Datadog Data Observability to monitor schemas, table dimensions, and row volumes." +further_reading: + - link: '/data_observability/' + tag: 'Documentation' + text: 'Data Observability Overview' + - link: '/monitors/types/data_observability/' + tag: 'Documentation' + text: 'Data Observability Monitors' + - link: '/database_monitoring/setup_sql_server/' + tag: 'Documentation' + text: 'Database Monitoring for SQL Server' + - link: '/remote_configuration/' + tag: 'Documentation' + text: 'Remote Configuration' +--- + +{{< callout url="#" btn_hidden="true" header="Preview" >}} +Data Observability for SQL Server is in Preview. Contact your Datadog representative to enable it for your organization. +{{< /callout >}} + +## Overview + +The SQL Server integration for Datadog Data Observability tracks table metadata, providing visibility into schemas, table dimensions, and row volumes across your environment. You can then create data quality monitors on your SQL Server tables. + +SQL Server is collected through the [Datadog Agent][1] rather than through a direct cloud connection like the [data warehouse integrations][2]. Table metadata comes from the schema collection that runs as part of [Database Monitoring][3], so Database Monitoring must be enabled on each SQL Server instance you want to track. This page covers only the configuration Data Observability adds on top of Database Monitoring. + +## Prerequisites + +Before you begin, make sure you have: + +- [Database Monitoring for SQL Server][3] set up on the instance, with the `datadog` login created as described in the setup guide for your hosting type. +- Datadog Agent `7.84.0` or later installed on a host that can reach your SQL Server instances. See [Agent installation][1] for your platform. +- [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). +- Permission to create database users and grant privileges in each database you want to track. +- Preview access enabled for your organization by a Datadog representative. + +## Enable Remote Configuration + +Data Observability uses [Remote Configuration][4] to deliver monitor queries to the Agent. When you create a data quality monitor in Datadog, its query is pushed to the Agent that owns the instance, and the Agent's SQL Server check runs it against your database on the monitor's schedule. + +Table metadata collection does not depend on Remote Configuration. If Remote Configuration is unavailable, your tables still appear in the catalog, but any monitor you create against them stays empty because the Agent never receives the query to run. + +Remote Configuration is on by default in most environments, but it has to be enabled in all three of the following places. Confirm each one: + + - **Your organization.** On the [Remote Configuration][5] settings page, confirm Remote Configuration is enabled. Enabling it requires the [`org_management`][6] permission. + - **The Agent's API key.** The API key the Agent uses must have the Remote Configuration capability. Check it on the [API Keys][7] page. This requires the [`api_keys_write`][6] permission. An Agent using a key without this capability reports an `UNAUTHORIZED` status. + - **The Agent.** `remote_configuration.enabled` defaults to `true` in Agent `7.47.0` and later, so usually there is nothing to change. Set it explicitly in [`datadog.yaml`][8] (or through `DD_REMOTE_CONFIGURATION_ENABLED`) in two cases: + + - It was previously set to `false`. + - The Agent reports to GovCloud (`ddog-gov.com`) or runs in FIPS mode. Remote Configuration is **disabled by default** in those environments and does not turn on unless you set it. + + ```yaml + remote_configuration: + enabled: true + ``` + + [Restart the Agent][9] after changing this setting. + +Each Agent's Remote Configuration status is also listed on the [Remote Configuration][5] settings page. For status descriptions and network requirements, see [Agent Remote Configuration status][10]. + +## Grant read access to your data + +The Database Monitoring setup lets the `datadog` login read server state and object definitions, but not the data in your tables. Data Observability needs `SELECT` on the tables you monitor to compute row counts, column-level metrics, and custom SQL results. + +Run the following in each database you want to track, and repeat the `GRANT` statement for each schema: + +```sql +USE []; +CREATE USER datadog FOR LOGIN datadog; +GRANT SELECT ON SCHEMA::[] TO datadog; +``` + +If the `datadog` user already exists in the database, skip the `CREATE USER` statement. A schema-level grant also applies to tables created in the schema later. + +To limit access to specific tables, grant `SELECT` on each table instead of on the schema: + +```sql +USE []; +GRANT SELECT ON [].[orders] TO datadog; +``` + +## Configure the SQL Server integration + +Edit the Agent's `conf.d/sqlserver.d/conf.yaml` file. On each instance you want to track, keep `dbm: true` and the connection settings from your Database Monitoring setup (such as `connector` and `driver`) in place, and add `collect_schemas` and `data_observability`. For a complete list of configuration options, see the [sample sqlserver.d/conf.yaml][11]. + +{{< tabs >}} +{{% tab "All databases on the instance" %}} + +Enable `database_autodiscovery` to collect metadata from every database on the instance: + +```yaml +init_config: +instances: + - host: ',1433' + username: datadog + password: '' + ## Keep your existing connector and driver settings + dbm: true + database_autodiscovery: true + + ## Populates your tables in Data Observability + collect_schemas: + enabled: true + + ## Required for Data Observability + data_observability: + enabled: true +``` + +{{% /tab %}} +{{% tab "A single database" %}} + +Set `database` to collect metadata from one database only: + +```yaml +init_config: +instances: + - host: ',1433' + username: datadog + password: '' + ## Keep your existing connector and driver settings + dbm: true + database: + + ## Populates your tables in Data Observability + collect_schemas: + enabled: true + + ## Required for Data Observability + data_observability: + enabled: true +``` + +{{% /tab %}} +{{< /tabs >}} + +Schema collection (`collect_schemas`) is disabled by default on SQL Server and requires `dbm: true`. It populates your tables in Data Observability. By default, it collects up to 300 tables from each database. To track more tables, raise `collect_schemas.max_tables`. For the SQL Server versions that schema collection supports, see [Collecting schemas][12]. + +[Restart the Agent][9] to apply the changes. + +### Validate the configuration + +Run the Agent [status command][13] and confirm that the `sqlserver` check shows a `Total Runs` count greater than zero and a recent `Last Successful Execution` timestamp. + +Then confirm the Agent is receiving Remote Configuration. The `Remote Configuration` section of the Agent status reports the organization and API key checks directly. A healthy Agent reports: + +```text +==================== +Remote Configuration +==================== + Organization enabled: True + API Key: Authorized + Last error: None +``` + +Anything else maps back to one of the three checks in [Enable Remote Configuration](#enable-remote-configuration): + +- `Organization enabled: False`: enable Remote Configuration for your organization. +- `API Key: Not authorized`: add the Remote Configuration capability to the API key this Agent uses. +- `Remote Configuration is disabled because ...`: it is turned off on the Agent itself. + +Until this section is healthy, your tables still sync but your monitors cannot run. + +## Explore your table metadata + +The Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). After the first collection, you can [view your SQL Server tables][14] in the Data Observability catalog. + +If your tables do not appear, verify that: + +1. The Agent status shows the `sqlserver` check reporting successfully. +2. `dbm: true` and `collect_schemas.enabled: true` are set on the instance. +3. The `datadog` login can connect to each database you want to track. +4. A Datadog representative has enabled Preview access for your organization. + +## Create data quality monitors + +After your tables appear in the catalog, you can [create Data Observability monitors][15] on them. On SQL Server, you can create: + +- **Row count**: Alert on volume fluctuations, such as sudden drops or plateauing trends. +- **Column-level metrics**: Monitor column attributes such as null ratios, cardinalities, or distribution shifts. +- **Custom SQL**: Alert on any `SELECT` query written in T-SQL. The query must return exactly one numeric value aliased as `dd_value`. + +Table freshness monitors are not available for SQL Server tables. To track freshness, create a freshness monitor on a datetime column. + +Monitors run on the schedule you set in [Monitor schedule][16]. Monitors set to {{< ui >}}Manual{{< /ui >}} don't run on SQL Server, so select {{< ui >}}Scheduled{{< /ui >}}. Keep `SELECT` privileges in place for the `datadog` user on all referenced tables; monitors fail if access is revoked. + +A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui >}}. Monitor queries run only while the Agent is running, so if the Agent stops, your monitors record no values until it restarts. If a monitor reports no data, check that: + +- The Agent is running and the `sqlserver` check reports successfully. +- `data_observability.enabled: true` is set on the instance that connects to the monitored database. +- [Remote Configuration](#enable-remote-configuration) is enabled for your organization, for the Agent's API key, and on the Agent itself. + +## Known limitations + +- Data Observability lists SQL Server tables from instances where `dbm` and `collect_schemas` are enabled, including instances that do not have `data_observability.enabled: true`. Monitors on tables from those instances have no data. To fix this, add `data_observability.enabled: true` to the instance and grant the `SELECT` privileges in [Grant read access to your data](#grant-read-access-to-your-data). +- If more than one SQL Server instance in an Agent's configuration has `data_observability.enabled: true` and the same `host` value, the Agent runs no monitor queries for that host. Enable `data_observability` on one instance for each host, such as an instance that uses `database_autodiscovery`. + +## Further reading + +{{< partial name="whats-next/whats-next.html" >}} + +[1]: /agent/ +[2]: /data_observability/quality_monitoring/data_warehouses/ +[3]: /database_monitoring/setup_sql_server/ +[4]: /remote_configuration/ +[5]: https://app.datadoghq.com/organization-settings/remote-config +[6]: /account_management/rbac/permissions/#permissions-list +[7]: https://app.datadoghq.com/organization-settings/api-keys +[8]: /agent/configuration/agent-configuration-files/#main-configuration-file +[9]: /agent/configuration/agent-commands/#start-stop-and-restart-the-agent +[10]: /agent/guide/setup_remote_config/#agent-remote-configuration-status +[11]: https://github.com/DataDog/integrations-core/blob/master/sqlserver/datadog_checks/sqlserver/data/conf.yaml.example +[12]: /database_monitoring/setup_sql_server/selfhosted/#collecting-schemas +[13]: /agent/configuration/agent-commands/#agent-status-and-information +[14]: https://app.datadoghq.com/data-obs/catalog +[15]: /monitors/types/data_observability/ +[16]: /monitors/types/data_observability/#monitor-schedule From 8a067a701ed39ee1ba4166fc94111514f699fa99 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sat, 21 Nov 2026 14:49:35 -0500 Subject: [PATCH 2/7] Address technical and style review Narrow the integration overhead schedule sentence to what the monitor page documents, align table freshness notes with the product, note that tables without a SELECT grant still appear in the catalog, scope the SQL Server duplicate-host limitation, and split long sentences. Co-Authored-By: Claude Opus 5.5 --- .../integration_overhead.md | 26 +++++++++---------- .../transactional_databases/mysql.md | 14 +++++----- .../transactional_databases/sql_server.md | 14 +++++----- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index e4e066d3f190..72ffb61c0ff2 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -23,14 +23,14 @@ further_reading: Data Observability monitors your data through two products, each with a different overhead profile: -- **Quality Monitoring** evaluates data-quality metrics (such as freshness, row count, and column statistics) on a schedule. Depending on the warehouse and metric, an evaluation either reads table metadata or runs a SQL query against your data, so its cost is measured in **warehouse compute** (for example, Snowflake credits, Databricks DBUs, or BigQuery bytes scanned). On PostgreSQL, MySQL, and SQL Server, the Datadog Agent runs these queries against your database, so the cost is load on your database server. +- **Quality Monitoring** evaluates data-quality metrics (such as freshness, row count, and column statistics) on a schedule. Depending on the warehouse and metric, an evaluation either reads table metadata or runs a SQL query against your data. Its cost is measured in **warehouse compute** (for example, Snowflake credits, Databricks DBUs, or BigQuery bytes scanned). On PostgreSQL, MySQL, and SQL Server, the Datadog Agent runs these queries against your database, so the cost is load on your database server. - **Jobs Monitoring** observes the performance of your jobs by running the **Datadog Agent** on your compute (for example, Databricks or Spark clusters). The Agent shares a small amount of the CPU and memory you already provision for your workloads. This page describes both overhead sources and how to control them. Actual cost depends heavily on your environment: warehouse size, the amount of data scanned, how often monitors run, and warehouse auto-stop settings. This page focuses on what consumes resources, not a single benchmark number. ## Quality Monitoring overhead -A Data Observability monitor evaluates its metric on the schedule you set in [Monitor schedule][1]: {{< ui >}}Hourly{{< /ui >}}, {{< ui >}}Every 3 hours{{< /ui >}}, {{< ui >}}Every 6 hours{{< /ui >}}, {{< ui >}}Every 12 hours{{< /ui >}}, {{< ui >}}Daily{{< /ui >}}, or a {{< ui >}}Custom schedule{{< /ui >}} cron expression that runs as often as every 15 minutes. A {{< ui >}}Manual{{< /ui >}} (Preview) monitor runs only when triggered through the API, and doesn't run on PostgreSQL, MySQL, or SQL Server. Each time a monitor runs, Data Observability collects the metric value, either by reading table metadata or by running a query against your data. How each metric is collected depends on the platform. Data Observability support for ClickHouse Cloud, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server is in Preview. +A Data Observability monitor evaluates its metric on the schedule you set in [Monitor schedule][1]. Preset schedules range from {{< ui >}}Hourly{{< /ui >}} to {{< ui >}}Daily{{< /ui >}}, and a {{< ui >}}Custom schedule{{< /ui >}} can run as often as every 15 minutes. A {{< ui >}}Manual{{< /ui >}} (Preview) monitor runs only when triggered through the API. Manual monitors don't run on PostgreSQL, MySQL, or SQL Server. Each time a monitor runs, Data Observability collects the metric value, either by reading table metadata or by running a query against your data. How each metric is collected depends on the platform. Data Observability support for ClickHouse Cloud, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server is in Preview. {{< tabs >}} {{% tab "Snowflake" %}} @@ -58,17 +58,17 @@ On Databricks, every metric is collected by running a SQL statement on the SQL w On BigQuery, **row count** and **table freshness** are read through BigQuery's table metadata API (equivalent to a `tables.get` call). No query runs and no bytes are scanned, so these checks incur no BigQuery query cost. -**Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, and column-level freshness) and **Custom SQL** run as BigQuery SQL against your tables and are billed by the data they process—bytes scanned under on-demand pricing, or slot time under capacity pricing. Column metrics on the same table that share the same filter and grouping are combined into a single query. +**Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, and column-level freshness) and **Custom SQL** run as BigQuery SQL against your tables and are billed by the data they process: bytes scanned under on-demand pricing, or slot time under capacity pricing. Column metrics on the same table that share the same filter and grouping are combined into a single query. {{% /tab %}} {{% tab "Redshift" %}} -On Redshift, every metric is collected by running a SQL query on the provisioned cluster or Serverless workgroup you connect, so each evaluation uses Redshift compute. +On Redshift, Datadog collects every metric by running a SQL query on the provisioned cluster or Serverless workgroup you connect. Each evaluation uses Redshift compute. | Metric | Statement run on Redshift | Notes | |---|---|---| | **Row count** | `SELECT COUNT(1) FROM
` | An aggregate query against the table. | -| **Table freshness** | *(no query)* | Redshift has no table freshness monitor. Use column-level freshness instead. | +| **Table freshness** | *(no query)* | Redshift doesn't support table freshness monitors. Use column-level freshness instead. | | **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | | **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | @@ -89,7 +89,7 @@ On Microsoft Fabric Warehouse, every metric is collected by running a T-SQL quer | Metric | Statement run on the SQL endpoint | Notes | |---|---|---| | **Row count** | `SELECT COUNT_BIG(1) FROM
` | An aggregate query against the table. | -| **Table freshness** | *(no query)* | Fabric doesn't expose a table-level last-modified time, so there is no table freshness monitor. Use column-level freshness instead. | +| **Table freshness** | *(no query)* | Fabric doesn't expose a table-level last-modified time, so Datadog doesn't collect table freshness on Fabric. Use column-level freshness instead. | | **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | | **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | @@ -101,7 +101,7 @@ On PostgreSQL, the Datadog Agent runs every monitor query against your database | Metric | Statement the Agent runs | Notes | |---|---|---| | **Row count** | `SELECT COUNT(1) FROM
` | An aggregate query against the table. | -| **Table freshness** | *(no query)* | PostgreSQL has no table freshness monitor. Use column-level freshness instead. | +| **Table freshness** | *(no query)* | PostgreSQL doesn't support table freshness monitors. Use column-level freshness instead. | | **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | | **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | @@ -110,12 +110,12 @@ Separately from monitor queries, the Agent collects schema metadata every 600 se {{% /tab %}} {{% tab "MySQL" %}} -On MySQL, the Datadog Agent runs every monitor query against your database through its MySQL check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time over a single connection. If the same database user also runs Database Monitoring, Data Observability uses one additional connection. +On MySQL, the Datadog Agent runs every monitor query against your database through its MySQL check. Datadog delivers the queries to the Agent over Remote Configuration. The Agent runs the queries that are due one at a time over a single connection. If the same database user also runs Database Monitoring, Data Observability uses one additional connection. | Metric | Statement the Agent runs | Notes | |---|---|---| | **Row count** | `SELECT COUNT(1) FROM .
` | An aggregate query against the table. | -| **Table freshness** | *(no query)* | MySQL has no table freshness monitor. Use column-level freshness instead. | +| **Table freshness** | *(no query)* | MySQL doesn't support table freshness monitors. Use column-level freshness instead. | | **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | | **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | @@ -129,7 +129,7 @@ On SQL Server, the Datadog Agent runs every monitor query against your database | Metric | Statement the Agent runs | Notes | |---|---|---| | **Row count** | `SELECT COUNT_BIG(1) FROM
` | An aggregate query against the table. | -| **Table freshness** | *(no query)* | SQL Server has no table freshness monitor. Use column-level freshness instead. | +| **Table freshness** | *(no query)* | SQL Server doesn't support table freshness monitors. Use column-level freshness instead. | | **Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, column freshness) | Aggregate `SELECT` over the column | An aggregate query against the table. Column metrics on the same table that share the same filter and grouping are combined into a single query. | | **Custom SQL** | Your query, run as written | Cost is whatever your query costs to run. | @@ -142,9 +142,9 @@ Separately from monitor queries, the Agent collects schema metadata every 600 se Warehouse compute consumed by Quality Monitoring scales with: -- **Cadence**: an hourly monitor reruns its query 24 times as often as a daily monitor, and a custom schedule that runs every 15 minutes reruns it 96 times a day. +- **Cadence**: an hourly monitor reruns its query 24 times as often as a daily monitor. A custom schedule that runs every 15 minutes reruns it 96 times a day. - **Number of distinct queries**: cost scales with the number of distinct *(table, filter, grouping)* combinations being monitored, not the raw number of metrics. Multiple column metrics on the same table are batched into one query. -- **Data scanned per query**: column-statistic queries (and Custom SQL) are aggregates that scan table data, so larger tables and partitions cost more on every warehouse. Row count runs `COUNT` against the table on Databricks, Redshift, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server. On Snowflake, BigQuery, and ClickHouse Cloud, it is a metadata read that does not grow with table size, except for ClickHouse tables with no stored row count. Table freshness is lightweight where it is available: metadata reads on Snowflake, BigQuery, and ClickHouse Cloud, and metadata commands on Databricks. On the other platforms, track freshness with column-level freshness, which is an aggregate over the column. +- **Data scanned per query**: column-statistic queries (and Custom SQL) are aggregates that scan table data, so larger tables and partitions cost more. Row count runs `COUNT` against the table on Databricks, Redshift, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server. On Snowflake, BigQuery, and ClickHouse Cloud, it is a metadata read that does not grow with table size. ClickHouse tables with no stored row count are the exception. Table freshness is lightweight where it is available: metadata reads on Snowflake, BigQuery, and ClickHouse Cloud, and metadata commands on Databricks. On the other platforms, track freshness with column-level freshness, which is an aggregate over the column. - **Warehouse warm time**: on warehouse-based platforms (Snowflake, Databricks), the dominant factor on most bills is how long your warehouse stays running. Frequent checks against a warehouse with a long idle timeout keep it warm and accrue cost even between queries. BigQuery on-demand is serverless and bills only by bytes scanned, so it has no warm-time cost. On ClickHouse Cloud, a query against an idle service wakes it up. Data Observability runs these queries with bounded concurrency and a per-query timeout. A backlog of monitors does not flood your warehouse with unbounded parallel queries. @@ -195,7 +195,7 @@ Apache Airflow, dbt, and custom pipelines are monitored without the Datadog Agen These integrations capture run, job, and dataset metadata and emit events at run lifecycle points. The cost is proportional to the number of runs, tasks, and the metadata collected, not to your data volume. -- **Airflow**: the [`apache-airflow-providers-openlineage`][5] provider runs in your Airflow schedulers and workers and emits an event at task and DAG lifecycle points. Its [configuration reference][6] documents options that affect overhead, such as selectively enabling OpenLineage and limiting collected metadata. +- **Airflow**: the [`apache-airflow-providers-openlineage`][5] provider runs in your Airflow schedulers and workers and emits an event at task and DAG life cycle points. Its [configuration reference][6] documents options that affect overhead, such as selectively enabling OpenLineage and limiting collected metadata. - **dbt**: for dbt Core, the [`openlineage-dbt`][7] wrapper (`dbt-ol`) follows dbt's structured logs and emits events as the run progresses. Because it reads logs rather than instrumenting execution, it does not affect dbt's performance. dbt Cloud sends job-run events to Datadog through a webhook, with no component running in your environment. - **Custom pipelines**: you emit events yourself with the OpenLineage client or a raw HTTP call, so the overhead is whatever your emitting code does. diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md index cef793689de1..c95583dc0334 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md @@ -37,9 +37,9 @@ Before you begin, make sure you have: ## Enable Remote Configuration -Data Observability uses [Remote Configuration][4] to deliver monitor queries to the Agent. When you create a data quality monitor in Datadog, its query is pushed to the Agent that owns the instance, and the Agent's MySQL check runs it against your database on the monitor's schedule. +Data Observability uses [Remote Configuration][4] to deliver monitor queries to the Agent. When you create a data quality monitor in Datadog, Datadog sends its query to the Agent that owns the instance. The Agent's MySQL check runs the query against your database on the monitor's schedule. -Table metadata collection does not depend on Remote Configuration. If Remote Configuration is unavailable, your tables still appear in the catalog, but any monitor you create against them stays empty because the Agent never receives the query to run. +Table metadata collection does not depend on Remote Configuration. If Remote Configuration is unavailable, your tables still appear in the catalog, but monitors you create on them stay empty. The Agent never receives the queries to run. Remote Configuration is on by default in most environments, but it has to be enabled in all three of the following places. Confirm each one: @@ -61,7 +61,7 @@ Each Agent's Remote Configuration status is also listed on the [Remote Configura ## Set up the Datadog database user -1. Create the `datadog` user and grant its base permissions as described in [Grant the Agent access][11] for self-hosted MySQL, or in the equivalent step of the [setup guide for your hosting type][3]. If Database Monitoring already runs against this instance, the user exists, so skip this step. +1. Create the `datadog` user and grant its base permissions. Follow [Grant the Agent access][11] for self-hosted MySQL, or the equivalent step in the [setup guide for your hosting type][3]. If Database Monitoring already runs against this instance, the user exists, so skip this step. 2. Grant `SELECT` on each database you want to track. Data Observability needs it to compute row counts, column-level metrics, and custom SQL results: @@ -71,7 +71,7 @@ Each Agent's Remote Configuration status is also listed on the [Remote Configura `SELECT` also makes the tables visible to schema collection, which only collects tables the user holds a privilege on. The `REFERENCES` privilege that Database Monitoring recommends for schema collection is not enough for Data Observability, because it does not allow reading table data. -3. If the `datadog` user also runs Database Monitoring, raise its connection limit by one. Data Observability uses one additional connection, so the limit of `5` from the Database Monitoring setup becomes `6`: +3. If the `datadog` user also runs Database Monitoring, increase its connection limit by one. Data Observability uses one additional connection, so the limit of `5` from the Database Monitoring setup becomes `6`: ```sql ALTER USER datadog@'%' WITH MAX_USER_CONNECTIONS 6; @@ -79,13 +79,15 @@ Each Agent's Remote Configuration status is also listed on the [Remote Configura ### Restrict to specific tables (optional) -To limit collection to a subset of tables, grant `SELECT` on each table instead of on the whole database: +To limit Data Observability to a subset of tables, grant `SELECT` on each table instead of on the whole database: ```sql GRANT SELECT ON .orders TO datadog@'%'; GRANT SELECT ON .users TO datadog@'%'; ``` +If the `datadog` user also holds the `REFERENCES` privilege on other tables for Database Monitoring schema collection, those tables still appear in Data Observability. Monitors on them fail, because the user can't read their data. + ## Configure the MySQL integration Edit the Agent's `conf.d/mysql.d/conf.yaml` file and add `collect_schemas` and `data_observability` to each MySQL instance you want to track. For a complete list of configuration options, see the [sample mysql.d/conf.yaml][12]. @@ -172,7 +174,7 @@ After your tables appear in the catalog, you can [create Data Observability moni Table freshness monitors are not available for MySQL tables. To track freshness, create a freshness monitor on a datetime column. -Monitors run on the schedule you set in [Monitor schedule][16]. Monitors set to {{< ui >}}Manual{{< /ui >}} don't run on MySQL, so select {{< ui >}}Scheduled{{< /ui >}}. Keep `SELECT` privileges in place for the `datadog` user on all referenced tables; monitors fail if access is revoked. +Monitors run on the schedule you set in [Monitor schedule][16]. Monitors set to {{< ui >}}Manual{{< /ui >}} don't run on MySQL, so select {{< ui >}}Scheduled{{< /ui >}}. Keep `SELECT` privileges in place for the `datadog` user on all referenced tables. Monitors fail if access is revoked. A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui >}}. Monitor queries run only while the Agent is running, so if the Agent stops, your monitors record no values until it restarts. If a monitor reports no data, check that: diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md index ba9a03210574..4809b7b7ae28 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md @@ -24,7 +24,7 @@ Data Observability for SQL Server is in Preview. Contact your Datadog representa The SQL Server integration for Datadog Data Observability tracks table metadata, providing visibility into schemas, table dimensions, and row volumes across your environment. You can then create data quality monitors on your SQL Server tables. -SQL Server is collected through the [Datadog Agent][1] rather than through a direct cloud connection like the [data warehouse integrations][2]. Table metadata comes from the schema collection that runs as part of [Database Monitoring][3], so Database Monitoring must be enabled on each SQL Server instance you want to track. This page covers only the configuration Data Observability adds on top of Database Monitoring. +SQL Server is collected through the [Datadog Agent][1] rather than through a direct cloud connection like the [data warehouse integrations][2]. Table metadata comes from the schema collection that runs as part of [Database Monitoring][3]. Database Monitoring must be enabled on each SQL Server instance you want to track. This page covers only the configuration Data Observability adds on top of Database Monitoring. ## Prerequisites @@ -38,9 +38,9 @@ Before you begin, make sure you have: ## Enable Remote Configuration -Data Observability uses [Remote Configuration][4] to deliver monitor queries to the Agent. When you create a data quality monitor in Datadog, its query is pushed to the Agent that owns the instance, and the Agent's SQL Server check runs it against your database on the monitor's schedule. +Data Observability uses [Remote Configuration][4] to deliver monitor queries to the Agent. When you create a data quality monitor in Datadog, Datadog sends its query to the Agent that owns the instance. The Agent's SQL Server check runs the query against your database on the monitor's schedule. -Table metadata collection does not depend on Remote Configuration. If Remote Configuration is unavailable, your tables still appear in the catalog, but any monitor you create against them stays empty because the Agent never receives the query to run. +Table metadata collection does not depend on Remote Configuration. If Remote Configuration is unavailable, your tables still appear in the catalog, but monitors you create on them stay empty. The Agent never receives the queries to run. Remote Configuration is on by default in most environments, but it has to be enabled in all three of the following places. Confirm each one: @@ -81,6 +81,8 @@ USE []; GRANT SELECT ON [].[orders] TO datadog; ``` +Schema collection still lists the database's other tables, but monitors on tables without a `SELECT` grant fail. + ## Configure the SQL Server integration Edit the Agent's `conf.d/sqlserver.d/conf.yaml` file. On each instance you want to track, keep `dbm: true` and the connection settings from your Database Monitoring setup (such as `connector` and `driver`) in place, and add `collect_schemas` and `data_observability`. For a complete list of configuration options, see the [sample sqlserver.d/conf.yaml][11]. @@ -136,7 +138,7 @@ instances: {{% /tab %}} {{< /tabs >}} -Schema collection (`collect_schemas`) is disabled by default on SQL Server and requires `dbm: true`. It populates your tables in Data Observability. By default, it collects up to 300 tables from each database. To track more tables, raise `collect_schemas.max_tables`. For the SQL Server versions that schema collection supports, see [Collecting schemas][12]. +Schema collection (`collect_schemas`) is disabled by default on SQL Server and requires `dbm: true`. It populates your tables in Data Observability. By default, it collects up to 300 tables from each database. To track more tables, increase `collect_schemas.max_tables`. For the SQL Server versions that schema collection supports, see [Collecting schemas][12]. [Restart the Agent][9] to apply the changes. @@ -184,7 +186,7 @@ After your tables appear in the catalog, you can [create Data Observability moni Table freshness monitors are not available for SQL Server tables. To track freshness, create a freshness monitor on a datetime column. -Monitors run on the schedule you set in [Monitor schedule][16]. Monitors set to {{< ui >}}Manual{{< /ui >}} don't run on SQL Server, so select {{< ui >}}Scheduled{{< /ui >}}. Keep `SELECT` privileges in place for the `datadog` user on all referenced tables; monitors fail if access is revoked. +Monitors run on the schedule you set in [Monitor schedule][16]. Monitors set to {{< ui >}}Manual{{< /ui >}} don't run on SQL Server, so select {{< ui >}}Scheduled{{< /ui >}}. Keep `SELECT` privileges in place for the `datadog` user on all referenced tables. Monitors fail if access is revoked. A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui >}}. Monitor queries run only while the Agent is running, so if the Agent stops, your monitors record no values until it restarts. If a monitor reports no data, check that: @@ -195,7 +197,7 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui ## Known limitations - Data Observability lists SQL Server tables from instances where `dbm` and `collect_schemas` are enabled, including instances that do not have `data_observability.enabled: true`. Monitors on tables from those instances have no data. To fix this, add `data_observability.enabled: true` to the instance and grant the `SELECT` privileges in [Grant read access to your data](#grant-read-access-to-your-data). -- If more than one SQL Server instance in an Agent's configuration has `data_observability.enabled: true` and the same `host` value, the Agent runs no monitor queries for that host. Enable `data_observability` on one instance for each host, such as an instance that uses `database_autodiscovery`. +- If more than one instance in `sqlserver.d/conf.yaml` has `data_observability.enabled: true` and the same `host` value, the Agent runs no monitor queries for that host. Enable `data_observability` on one instance for each host, such as an instance that uses `database_autodiscovery`. This limitation doesn't apply to Azure SQL Database instances (`azure.deployment_type: sql_database`), which the Agent matches by both host and database. ## Further reading From e6c2845e7eacf98eebfce907412af50f9d15d3ce Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sat, 21 Nov 2026 15:10:29 -0500 Subject: [PATCH 3/7] Split a long sentence on the BigQuery overhead tab Co-Authored-By: Claude Opus 5.5 --- hugo/content/en/data_observability/integration_overhead.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index 72ffb61c0ff2..6cf70999fc0b 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -58,7 +58,7 @@ On Databricks, every metric is collected by running a SQL statement on the SQL w On BigQuery, **row count** and **table freshness** are read through BigQuery's table metadata API (equivalent to a `tables.get` call). No query runs and no bytes are scanned, so these checks incur no BigQuery query cost. -**Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, and column-level freshness) and **Custom SQL** run as BigQuery SQL against your tables and are billed by the data they process: bytes scanned under on-demand pricing, or slot time under capacity pricing. Column metrics on the same table that share the same filter and grouping are combined into a single query. +**Column metrics** (Nullness, Uniqueness, Cardinality, Percent Zero, Percent Negative, Min, Max, Mean, Sum, Standard Deviation, and column-level freshness) and **Custom SQL** run as BigQuery SQL against your tables. BigQuery bills these queries by the data they process: bytes scanned under on-demand pricing, or slot time under capacity pricing. Column metrics on the same table that share the same filter and grouping are combined into a single query. {{% /tab %}} {{% tab "Redshift" %}} From e13edcf4bdb909a829fe7c936ec2da9b760ccf7c Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sat, 21 Nov 2026 21:35:35 -0500 Subject: [PATCH 4/7] Set the Agent minimum to 7.86.0 and fix grants, Custom SQL, and Azure SQL Database setup Raise the MySQL and SQL Server Agent minimum to 7.86.0, describe grouped Custom SQL results, add Azure SQL Database grant and instance notes, the SQL Server views option, the MySQL database name limitation, and setup links from the integration overhead tabs. Co-Authored-By: Claude Opus 5.5 --- .../integration_overhead.md | 35 ++++++++++--------- .../transactional_databases/mysql.md | 14 +++++--- .../transactional_databases/sql_server.md | 24 ++++++++----- 3 files changed, 44 insertions(+), 29 deletions(-) diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index 6cf70999fc0b..beb47a76d20a 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -96,7 +96,7 @@ On Microsoft Fabric Warehouse, every metric is collected by running a T-SQL quer {{% /tab %}} {{% tab "PostgreSQL" %}} -On PostgreSQL, the Datadog Agent runs every monitor query against your database through its Postgres check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time. +On PostgreSQL, the Datadog Agent runs every monitor query against your database through its Postgres check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time. For setup, see [PostgreSQL][2]. | Metric | Statement the Agent runs | Notes | |---|---|---| @@ -110,7 +110,7 @@ Separately from monitor queries, the Agent collects schema metadata every 600 se {{% /tab %}} {{% tab "MySQL" %}} -On MySQL, the Datadog Agent runs every monitor query against your database through its MySQL check. Datadog delivers the queries to the Agent over Remote Configuration. The Agent runs the queries that are due one at a time over a single connection. If the same database user also runs Database Monitoring, Data Observability uses one additional connection. +On MySQL, the Datadog Agent runs every monitor query against your database through its MySQL check. Datadog delivers the queries to the Agent over Remote Configuration. The Agent runs the queries that are due one at a time over a single connection. If the same database user also runs Database Monitoring, Data Observability uses one additional connection. For setup, see [MySQL][3]. | Metric | Statement the Agent runs | Notes | |---|---|---| @@ -124,7 +124,7 @@ Separately from monitor queries, the Agent collects schema metadata every 600 se {{% /tab %}} {{% tab "SQL Server" %}} -On SQL Server, the Datadog Agent runs every monitor query against your database through its SQL Server check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time. Queries against the same database share one connection. +On SQL Server, the Datadog Agent runs every monitor query against your database through its SQL Server check. Datadog delivers the queries to the Agent over Remote Configuration, and the Agent runs the queries that are due one at a time. Queries against the same database share one connection. For setup, see [SQL Server][4]. | Metric | Statement the Agent runs | Notes | |---|---|---| @@ -177,7 +177,7 @@ On Databricks **classic** clusters (all-purpose or job clusters), the Agent is i The Agent is a lightweight process that shares the CPU and memory you already provision for your workloads. It does not add separate, Datadog-provisioned compute to classic clusters. -Jobs Monitoring traces are coarse-grained. The Spark integration emits one span per application, job, stage, SQL execution, and streaming micro-batch, plus one span for each *failed* task. Successful tasks are aggregated into stage-level metrics instead of emitting individual spans. As a result, trace volume scales with a job's number of stages and jobs, not its task count or data volume. Trace throughput therefore stays low for typical jobs. The larger contributors to the Agent's footprint are Spark metric collection and, if enabled, log collection. For the Datadog SDK's resource profile, see [APM Agent resource usage][2]. +Jobs Monitoring traces are coarse-grained. The Spark integration emits one span per application, job, stage, SQL execution, and streaming micro-batch, plus one span for each *failed* task. Successful tasks are aggregated into stage-level metrics instead of emitting individual spans. As a result, trace volume scales with a job's number of stages and jobs, not its task count or data volume. Trace throughput therefore stays low for typical jobs. The larger contributors to the Agent's footprint are Spark metric collection and, if enabled, log collection. For the Datadog SDK's resource profile, see [APM Agent resource usage][5]. The cluster Agent issues no queries against your warehouse, so it adds no warehouse cost on its own. @@ -187,32 +187,35 @@ The cluster Agent issues no queries against your warehouse, so it adds no wareho ### Databricks cost data -Jobs Monitoring can surface the DBU cost of your Databricks jobs. This cost data is read from Datadog's own cost metrics; collecting it does not add queries to your monitored clusters. Populating Databricks cost requires the Datadog Databricks cost integration, which reads from Databricks system tables through a SQL warehouse you grant access to. For the required permissions, see the [Jobs Monitoring for Databricks setup][3]. +Jobs Monitoring can surface the DBU cost of your Databricks jobs. This cost data is read from Datadog's own cost metrics; collecting it does not add queries to your monitored clusters. Populating Databricks cost requires the Datadog Databricks cost integration, which reads from Databricks system tables through a SQL warehouse you grant access to. For the required permissions, see the [Jobs Monitoring for Databricks setup][6]. ### OpenLineage-based integrations -Apache Airflow, dbt, and custom pipelines are monitored without the Datadog Agent. Instead, an open source [OpenLineage][4] integration emits lineage events to Datadog. These components are maintained by the OpenLineage and Apache Airflow projects, and their configuration and performance are documented in their respective project documentation. The overhead is the integration's, not the Datadog Agent's. +Apache Airflow, dbt, and custom pipelines are monitored without the Datadog Agent. Instead, an open source [OpenLineage][7] integration emits lineage events to Datadog. These components are maintained by the OpenLineage and Apache Airflow projects, and their configuration and performance are documented in their respective project documentation. The overhead is the integration's, not the Datadog Agent's. These integrations capture run, job, and dataset metadata and emit events at run lifecycle points. The cost is proportional to the number of runs, tasks, and the metadata collected, not to your data volume. -- **Airflow**: the [`apache-airflow-providers-openlineage`][5] provider runs in your Airflow schedulers and workers and emits an event at task and DAG life cycle points. Its [configuration reference][6] documents options that affect overhead, such as selectively enabling OpenLineage and limiting collected metadata. -- **dbt**: for dbt Core, the [`openlineage-dbt`][7] wrapper (`dbt-ol`) follows dbt's structured logs and emits events as the run progresses. Because it reads logs rather than instrumenting execution, it does not affect dbt's performance. dbt Cloud sends job-run events to Datadog through a webhook, with no component running in your environment. +- **Airflow**: the [`apache-airflow-providers-openlineage`][8] provider runs in your Airflow schedulers and workers and emits an event at task and DAG life cycle points. Its [configuration reference][9] documents options that affect overhead, such as selectively enabling OpenLineage and limiting collected metadata. +- **dbt**: for dbt Core, the [`openlineage-dbt`][10] wrapper (`dbt-ol`) follows dbt's structured logs and emits events as the run progresses. Because it reads logs rather than instrumenting execution, it does not affect dbt's performance. dbt Cloud sends job-run events to Datadog through a webhook, with no component running in your environment. - **Custom pipelines**: you emit events yourself with the OpenLineage client or a raw HTTP call, so the overhead is whatever your emitting code does. -For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineage][8]. See the OpenLineage documentation for the full set of tuning and overhead controls. +For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineage][11]. See the OpenLineage documentation for the full set of tuning and overhead controls. ## Estimating your actual costs The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. [1]: /monitors/types/data_observability/#monitor-schedule -[2]: /tracing/troubleshooting/agent_apm_resource_usage/ -[3]: /data_observability/jobs_monitoring/databricks/ -[4]: https://openlineage.io/docs/integrations/about -[5]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/ -[6]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/configurations-ref.html -[7]: https://openlineage.io/docs/integrations/dbt -[8]: /data_observability/jobs_monitoring/openlineage/ +[2]: /data_observability/quality_monitoring/transactional_databases/postgres/ +[3]: /data_observability/quality_monitoring/transactional_databases/mysql/ +[4]: /data_observability/quality_monitoring/transactional_databases/sql_server/ +[5]: /tracing/troubleshooting/agent_apm_resource_usage/ +[6]: /data_observability/jobs_monitoring/databricks/ +[7]: https://openlineage.io/docs/integrations/about +[8]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/ +[9]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/configurations-ref.html +[10]: https://openlineage.io/docs/integrations/dbt +[11]: /data_observability/jobs_monitoring/openlineage/ ## Further reading diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md index c95583dc0334..99cc3aa7bd3a 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md @@ -30,7 +30,7 @@ MySQL is collected through the [Datadog Agent][1] rather than through a direct c Before you begin, make sure you have: -- Datadog Agent `7.84.0` or later installed on a host that can reach your MySQL instances. See [Agent installation][1] for your platform. +- Datadog Agent `7.86.0` or later installed on a host that can reach your MySQL instances. See [Agent installation][1] for your platform. - [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). - Permission to create MySQL users and grant privileges. - Preview access enabled for your organization by a Datadog representative. @@ -63,12 +63,14 @@ Each Agent's Remote Configuration status is also listed on the [Remote Configura 1. Create the `datadog` user and grant its base permissions. Follow [Grant the Agent access][11] for self-hosted MySQL, or the equivalent step in the [setup guide for your hosting type][3]. If Database Monitoring already runs against this instance, the user exists, so skip this step. -2. Grant `SELECT` on each database you want to track. Data Observability needs it to compute row counts, column-level metrics, and custom SQL results: +2. Grant `SELECT` on each database you want to track. Data Observability needs it to compute row counts, column-level metrics, and Custom SQL results: ```sql GRANT SELECT ON .* TO datadog@'%'; ``` + If you created the `datadog` user with a host other than `'%'`, use that host in the `GRANT` and `ALTER USER` statements on this page. + `SELECT` also makes the tables visible to schema collection, which only collects tables the user holds a privilege on. The `REFERENCES` privilege that Database Monitoring recommends for schema collection is not enough for Data Observability, because it does not allow reading table data. 3. If the `datadog` user also runs Database Monitoring, increase its connection limit by one. Data Observability uses one additional connection, so the limit of `5` from the Database Monitoring setup becomes `6`: @@ -150,7 +152,7 @@ Until this section is healthy, your tables still sync but your monitors cannot r ## Explore your table metadata -The Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). After the first collection, you can [view your MySQL tables][14] in the Data Observability catalog. +The Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). After the first collection, you can [view your MySQL tables][14] in the Data Catalog. If your tables do not appear, verify that: @@ -170,7 +172,7 @@ After your tables appear in the catalog, you can [create Data Observability moni - **Row count**: Alert on volume fluctuations, such as sudden drops or plateauing trends. - **Column-level metrics**: Monitor column attributes such as null ratios, cardinalities, or distribution shifts. -- **Custom SQL**: Alert on any `SELECT` query. The query must return exactly one numeric value aliased as `dd_value`. +- **Custom SQL**: Alert on any `SELECT` query. Alias the numeric result as `dd_value`. Other columns that the query returns become groups, as described in [Custom SQL][17]. Table freshness monitors are not available for MySQL tables. To track freshness, create a freshness monitor on a datetime column. @@ -184,7 +186,8 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui ## Known limitations -Data Observability lists MySQL tables from instances where `dbm` and `collect_schemas` are enabled, including instances that do not have `data_observability.enabled: true`. Monitors on tables from those instances have no data. To fix this, add `data_observability.enabled: true` to the instance and grant the `SELECT` privileges in [Set up the Datadog database user](#set-up-the-datadog-database-user). +- Data Observability lists MySQL tables from instances where `dbm` and `collect_schemas` are enabled, including instances that do not have `data_observability.enabled: true`. Monitors on tables from those instances have no data. To fix this, add `data_observability.enabled: true` to the instance and grant the `SELECT` privileges in [Set up the Datadog database user](#set-up-the-datadog-database-user). +- Monitors run only on databases whose names contain letters, digits, underscores (`_`), and dollar signs (`$`). The Agent skips monitor queries for databases with other characters in their names. ## Further reading @@ -206,3 +209,4 @@ Data Observability lists MySQL tables from instances where `dbm` and `collect_sc [14]: https://app.datadoghq.com/data-obs/catalog [15]: /monitors/types/data_observability/ [16]: /monitors/types/data_observability/#monitor-schedule +[17]: /monitors/types/data_observability/?tab=customsql#select-your-metric-type diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md index 4809b7b7ae28..be569c24d957 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md @@ -31,7 +31,7 @@ SQL Server is collected through the [Datadog Agent][1] rather than through a dir Before you begin, make sure you have: - [Database Monitoring for SQL Server][3] set up on the instance, with the `datadog` login created as described in the setup guide for your hosting type. -- Datadog Agent `7.84.0` or later installed on a host that can reach your SQL Server instances. See [Agent installation][1] for your platform. +- Datadog Agent `7.86.0` or later installed on a host that can reach your SQL Server instances. See [Agent installation][1] for your platform. - [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). - Permission to create database users and grant privileges in each database you want to track. - Preview access enabled for your organization by a Datadog representative. @@ -62,7 +62,7 @@ Each Agent's Remote Configuration status is also listed on the [Remote Configura ## Grant read access to your data -The Database Monitoring setup lets the `datadog` login read server state and object definitions, but not the data in your tables. Data Observability needs `SELECT` on the tables you monitor to compute row counts, column-level metrics, and custom SQL results. +The Database Monitoring setup lets the `datadog` login read server state and object definitions, but not the data in your tables. Data Observability needs `SELECT` on the tables you monitor to compute row counts, column-level metrics, and Custom SQL results. Run the following in each database you want to track, and repeat the `GRANT` statement for each schema: @@ -74,11 +74,13 @@ GRANT SELECT ON SCHEMA::[] TO datadog; If the `datadog` user already exists in the database, skip the `CREATE USER` statement. A schema-level grant also applies to tables created in the schema later. +On Azure SQL Database, `USE` can't switch to another database. Connect to each database you want to track and run the statements without the `USE` line. + To limit access to specific tables, grant `SELECT` on each table instead of on the schema: ```sql USE []; -GRANT SELECT ON [].[orders] TO datadog; +GRANT SELECT ON [].[] TO datadog; ``` Schema collection still lists the database's other tables, but monitors on tables without a `SELECT` grant fail. @@ -138,7 +140,11 @@ instances: {{% /tab %}} {{< /tabs >}} -Schema collection (`collect_schemas`) is disabled by default on SQL Server and requires `dbm: true`. It populates your tables in Data Observability. By default, it collects up to 300 tables from each database. To track more tables, increase `collect_schemas.max_tables`. For the SQL Server versions that schema collection supports, see [Collecting schemas][12]. +Schema collection (`collect_schemas`) is disabled by default on SQL Server and requires `dbm: true`. It populates your tables in Data Observability. By default, it collects up to 300 tables from each database, in schema and table name order. To track more tables, increase `collect_schemas.max_tables`. For the SQL Server versions that schema collection supports, see [Collecting schemas][12]. + +To also add views, set `collect_schemas.collect_views: true`. The Agent sends view definitions as written, without obfuscation. By default, it collects up to 1,000 views from each database (`collect_schemas.max_views`). + +On Azure SQL Database, add one instance for each database instead of using `database_autodiscovery`. On each instance, set `database`, keep the `azure` block from your Database Monitoring setup (`deployment_type: sql_database`), and include `$database` in `database_identifier.template`, for example `$azure_name-$database`. Without `$database`, the databases on a logical server share one identifier in Datadog. [Restart the Agent][9] to apply the changes. @@ -167,14 +173,15 @@ Until this section is healthy, your tables still sync but your monitors cannot r ## Explore your table metadata -The Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). After the first collection, you can [view your SQL Server tables][14] in the Data Observability catalog. +The Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). After the first collection, you can [view your SQL Server tables][14] in the Data Catalog. If your tables do not appear, verify that: 1. The Agent status shows the `sqlserver` check reporting successfully. 2. `dbm: true` and `collect_schemas.enabled: true` are set on the instance. -3. The `datadog` login can connect to each database you want to track. -4. A Datadog representative has enabled Preview access for your organization. +3. The `datadog` login can connect to each database you want to track, and the `datadog` user exists in each of those databases. +4. On Azure SQL Database, each database has its own instance in `sqlserver.d/conf.yaml`, and `database_identifier.template` includes `$database`. +5. A Datadog representative has enabled Preview access for your organization. ## Create data quality monitors @@ -182,7 +189,7 @@ After your tables appear in the catalog, you can [create Data Observability moni - **Row count**: Alert on volume fluctuations, such as sudden drops or plateauing trends. - **Column-level metrics**: Monitor column attributes such as null ratios, cardinalities, or distribution shifts. -- **Custom SQL**: Alert on any `SELECT` query written in T-SQL. The query must return exactly one numeric value aliased as `dd_value`. +- **Custom SQL**: Alert on any `SELECT` query written in T-SQL. Alias the numeric result as `dd_value`. Other columns that the query returns become groups, as described in [Custom SQL][17]. Table freshness monitors are not available for SQL Server tables. To track freshness, create a freshness monitor on a datetime column. @@ -219,3 +226,4 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui [14]: https://app.datadoghq.com/data-obs/catalog [15]: /monitors/types/data_observability/ [16]: /monitors/types/data_observability/#monitor-schedule +[17]: /monitors/types/data_observability/?tab=customsql#select-your-metric-type From 009f2ae4b21bc0da37f1559a0a14b80871f3ae42 Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sat, 21 Nov 2026 22:00:02 -0500 Subject: [PATCH 5/7] Add cross-links to related Data Observability pages Co-Authored-By: Claude Opus 5.5 --- .../en/data_observability/integration_overhead.md | 6 +++++- .../quality_monitoring/transactional_databases/mysql.md | 9 ++++++--- .../transactional_databases/sql_server.md | 9 ++++++--- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index beb47a76d20a..1d37a769e636 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -28,6 +28,8 @@ Data Observability monitors your data through two products, each with a differen This page describes both overhead sources and how to control them. Actual cost depends heavily on your environment: warehouse size, the amount of data scanned, how often monitors run, and warehouse auto-stop settings. This page focuses on what consumes resources, not a single benchmark number. +Datadog bills for Data Observability separately from this overhead. See [Data Observability Billing][12]. + ## Quality Monitoring overhead A Data Observability monitor evaluates its metric on the schedule you set in [Monitor schedule][1]. Preset schedules range from {{< ui >}}Hourly{{< /ui >}} to {{< ui >}}Daily{{< /ui >}}, and a {{< ui >}}Custom schedule{{< /ui >}} can run as often as every 15 minutes. A {{< ui >}}Manual{{< /ui >}} (Preview) monitor runs only when triggered through the API. Manual monitors don't run on PostgreSQL, MySQL, or SQL Server. Each time a monitor runs, Data Observability collects the metric value, either by reading table metadata or by running a query against your data. How each metric is collected depends on the platform. Data Observability support for ClickHouse Cloud, Microsoft Fabric Warehouse, PostgreSQL, MySQL, and SQL Server is in Preview. @@ -203,7 +205,7 @@ For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineag ## Estimating your actual costs -The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. +The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. To see which queries drive usage in your warehouse, use the [Queries page][13]. [1]: /monitors/types/data_observability/#monitor-schedule [2]: /data_observability/quality_monitoring/transactional_databases/postgres/ @@ -216,6 +218,8 @@ The behaviors described on this page are environment-dependent. Actual cost depe [9]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/configurations-ref.html [10]: https://openlineage.io/docs/integrations/dbt [11]: /data_observability/jobs_monitoring/openlineage/ +[12]: /account_management/billing/data_observability/ +[13]: /data_observability/optimize/#analyze-warehouse-queries ## Further reading diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md index 99cc3aa7bd3a..03c3349ccaa7 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md @@ -17,7 +17,7 @@ further_reading: --- {{< callout url="#" btn_hidden="true" header="Preview" >}} -Data Observability for MySQL is in Preview. Contact your Datadog representative to enable it for your organization. +Data Observability for MySQL is in Preview. To request access, see Request Preview access. {{< /callout >}} ## Overview @@ -32,8 +32,9 @@ Before you begin, make sure you have: - Datadog Agent `7.86.0` or later installed on a host that can reach your MySQL instances. See [Agent installation][1] for your platform. - [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). +- Outbound network access from the Agent host to Datadog. See [Network Requirements for Data Observability][18]. - Permission to create MySQL users and grant privileges. -- Preview access enabled for your organization by a Datadog representative. +- Preview access enabled for your organization. See [Request Preview access][19]. ## Enable Remote Configuration @@ -164,7 +165,7 @@ If your tables do not appear, verify that: mysql -h -u datadog -p -e 'SELECT 1 FROM .orders LIMIT 1' ``` -4. A Datadog representative has enabled Preview access for your organization. +4. Preview access is enabled for your organization. See [Request Preview access][19]. ## Create data quality monitors @@ -210,3 +211,5 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui [15]: /monitors/types/data_observability/ [16]: /monitors/types/data_observability/#monitor-schedule [17]: /monitors/types/data_observability/?tab=customsql#select-your-metric-type +[18]: /data_observability/network/ +[19]: /data_observability/supported_platforms/#request-preview-access diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md index be569c24d957..ea441f8b33dc 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md @@ -17,7 +17,7 @@ further_reading: --- {{< callout url="#" btn_hidden="true" header="Preview" >}} -Data Observability for SQL Server is in Preview. Contact your Datadog representative to enable it for your organization. +Data Observability for SQL Server is in Preview. To request access, see Request Preview access. {{< /callout >}} ## Overview @@ -33,8 +33,9 @@ Before you begin, make sure you have: - [Database Monitoring for SQL Server][3] set up on the instance, with the `datadog` login created as described in the setup guide for your hosting type. - Datadog Agent `7.86.0` or later installed on a host that can reach your SQL Server instances. See [Agent installation][1] for your platform. - [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). +- Outbound network access from the Agent host to Datadog. See [Network Requirements for Data Observability][18]. - Permission to create database users and grant privileges in each database you want to track. -- Preview access enabled for your organization by a Datadog representative. +- Preview access enabled for your organization. See [Request Preview access][19]. ## Enable Remote Configuration @@ -181,7 +182,7 @@ If your tables do not appear, verify that: 2. `dbm: true` and `collect_schemas.enabled: true` are set on the instance. 3. The `datadog` login can connect to each database you want to track, and the `datadog` user exists in each of those databases. 4. On Azure SQL Database, each database has its own instance in `sqlserver.d/conf.yaml`, and `database_identifier.template` includes `$database`. -5. A Datadog representative has enabled Preview access for your organization. +5. Preview access is enabled for your organization. See [Request Preview access][19]. ## Create data quality monitors @@ -227,3 +228,5 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui [15]: /monitors/types/data_observability/ [16]: /monitors/types/data_observability/#monitor-schedule [17]: /monitors/types/data_observability/?tab=customsql#select-your-metric-type +[18]: /data_observability/network/ +[19]: /data_observability/supported_platforms/#request-preview-access From 63beee5afd0a6964d3afeb9fe50cee854d26f1ea Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sun, 22 Nov 2026 16:45:04 -0500 Subject: [PATCH 6/7] Define the database setup links inside their tabs The PostgreSQL, MySQL, and SQL Server tabs used reference links [2], [3], and [4] whose definitions sat at the bottom of the page. Hugo renders tab content separately, so those links showed as literal "[2]" text. Each definition now sits inside its tab, before {{% /tab %}}, and the unused page-level copies are gone. Co-Authored-By: Claude Opus 5.5 --- hugo/content/en/data_observability/integration_overhead.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index 1d37a769e636..f720538df82f 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -109,6 +109,7 @@ On PostgreSQL, the Datadog Agent runs every monitor query against your database Separately from monitor queries, the Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). +[2]: /data_observability/quality_monitoring/transactional_databases/postgres/ {{% /tab %}} {{% tab "MySQL" %}} @@ -123,6 +124,7 @@ On MySQL, the Datadog Agent runs every monitor query against your database throu Separately from monitor queries, the Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`). +[3]: /data_observability/quality_monitoring/transactional_databases/mysql/ {{% /tab %}} {{% tab "SQL Server" %}} @@ -137,6 +139,7 @@ On SQL Server, the Datadog Agent runs every monitor query against your database Separately from monitor queries, the Agent collects schema metadata every 600 seconds by default (`collect_schemas.collection_interval`), as part of Database Monitoring. +[4]: /data_observability/quality_monitoring/transactional_databases/sql_server/ {{% /tab %}} {{< /tabs >}} @@ -208,9 +211,6 @@ For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineag The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. To see which queries drive usage in your warehouse, use the [Queries page][13]. [1]: /monitors/types/data_observability/#monitor-schedule -[2]: /data_observability/quality_monitoring/transactional_databases/postgres/ -[3]: /data_observability/quality_monitoring/transactional_databases/mysql/ -[4]: /data_observability/quality_monitoring/transactional_databases/sql_server/ [5]: /tracing/troubleshooting/agent_apm_resource_usage/ [6]: /data_observability/jobs_monitoring/databricks/ [7]: https://openlineage.io/docs/integrations/about From fdbaf70db2eb11dd655ee15929877cb0b3c2d75b Mon Sep 17 00:00:00 2001 From: Kevin Hu Date: Sun, 22 Nov 2026 16:56:51 -0500 Subject: [PATCH 7/7] Defer cross-links to pages in other open PRs Co-Authored-By: Claude Opus 5.5 --- .../en/data_observability/integration_overhead.md | 6 ++---- .../transactional_databases/mysql.md | 10 ++++------ .../transactional_databases/sql_server.md | 10 ++++------ 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/hugo/content/en/data_observability/integration_overhead.md b/hugo/content/en/data_observability/integration_overhead.md index f720538df82f..ed240a87142e 100644 --- a/hugo/content/en/data_observability/integration_overhead.md +++ b/hugo/content/en/data_observability/integration_overhead.md @@ -28,7 +28,7 @@ Data Observability monitors your data through two products, each with a differen This page describes both overhead sources and how to control them. Actual cost depends heavily on your environment: warehouse size, the amount of data scanned, how often monitors run, and warehouse auto-stop settings. This page focuses on what consumes resources, not a single benchmark number. -Datadog bills for Data Observability separately from this overhead. See [Data Observability Billing][12]. +Datadog bills for Data Observability separately from this overhead. ## Quality Monitoring overhead @@ -208,7 +208,7 @@ For setup and the Datadog-optimized transport, see [Custom Jobs using OpenLineag ## Estimating your actual costs -The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. To see which queries drive usage in your warehouse, use the [Queries page][13]. +The behaviors described on this page are environment-dependent. Actual cost depends on your warehouse size and pricing model, the data scanned, and how often monitors run. On warehouse-based platforms, it also depends on your auto-stop configuration. To estimate costs, validate against your own usage: your warehouse's query history or billing views, or Datadog Cloud Cost Management. [1]: /monitors/types/data_observability/#monitor-schedule [5]: /tracing/troubleshooting/agent_apm_resource_usage/ @@ -218,8 +218,6 @@ The behaviors described on this page are environment-dependent. Actual cost depe [9]: https://airflow.apache.org/docs/apache-airflow-providers-openlineage/stable/configurations-ref.html [10]: https://openlineage.io/docs/integrations/dbt [11]: /data_observability/jobs_monitoring/openlineage/ -[12]: /account_management/billing/data_observability/ -[13]: /data_observability/optimize/#analyze-warehouse-queries ## Further reading diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md index 03c3349ccaa7..5a319ba5c388 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/mysql.md @@ -17,7 +17,7 @@ further_reading: --- {{< callout url="#" btn_hidden="true" header="Preview" >}} -Data Observability for MySQL is in Preview. To request access, see Request Preview access. +Data Observability for MySQL is in Preview. Contact your Datadog representative to enable it for your organization. {{< /callout >}} ## Overview @@ -32,9 +32,9 @@ Before you begin, make sure you have: - Datadog Agent `7.86.0` or later installed on a host that can reach your MySQL instances. See [Agent installation][1] for your platform. - [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). -- Outbound network access from the Agent host to Datadog. See [Network Requirements for Data Observability][18]. +- Outbound network access from the Agent host to Datadog. - Permission to create MySQL users and grant privileges. -- Preview access enabled for your organization. See [Request Preview access][19]. +- Preview access enabled for your organization by a Datadog representative. ## Enable Remote Configuration @@ -165,7 +165,7 @@ If your tables do not appear, verify that: mysql -h -u datadog -p -e 'SELECT 1 FROM .orders LIMIT 1' ``` -4. Preview access is enabled for your organization. See [Request Preview access][19]. +4. A Datadog representative has enabled Preview access for your organization. ## Create data quality monitors @@ -211,5 +211,3 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui [15]: /monitors/types/data_observability/ [16]: /monitors/types/data_observability/#monitor-schedule [17]: /monitors/types/data_observability/?tab=customsql#select-your-metric-type -[18]: /data_observability/network/ -[19]: /data_observability/supported_platforms/#request-preview-access diff --git a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md index ea441f8b33dc..166c4cf96491 100644 --- a/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md +++ b/hugo/content/en/data_observability/quality_monitoring/transactional_databases/sql_server.md @@ -17,7 +17,7 @@ further_reading: --- {{< callout url="#" btn_hidden="true" header="Preview" >}} -Data Observability for SQL Server is in Preview. To request access, see Request Preview access. +Data Observability for SQL Server is in Preview. Contact your Datadog representative to enable it for your organization. {{< /callout >}} ## Overview @@ -33,9 +33,9 @@ Before you begin, make sure you have: - [Database Monitoring for SQL Server][3] set up on the instance, with the `datadog` login created as described in the setup guide for your hosting type. - Datadog Agent `7.86.0` or later installed on a host that can reach your SQL Server instances. See [Agent installation][1] for your platform. - [Remote Configuration][4] enabled for your organization, on the API key the Agent uses, and on the Agent itself. Data quality monitors are delivered to the Agent over Remote Configuration, so without it your tables sync but your monitors never run. See [Enable Remote Configuration](#enable-remote-configuration). -- Outbound network access from the Agent host to Datadog. See [Network Requirements for Data Observability][18]. +- Outbound network access from the Agent host to Datadog. - Permission to create database users and grant privileges in each database you want to track. -- Preview access enabled for your organization. See [Request Preview access][19]. +- Preview access enabled for your organization by a Datadog representative. ## Enable Remote Configuration @@ -182,7 +182,7 @@ If your tables do not appear, verify that: 2. `dbm: true` and `collect_schemas.enabled: true` are set on the instance. 3. The `datadog` login can connect to each database you want to track, and the `datadog` user exists in each of those databases. 4. On Azure SQL Database, each database has its own instance in `sqlserver.d/conf.yaml`, and `database_identifier.template` includes `$database`. -5. Preview access is enabled for your organization. See [Request Preview access][19]. +5. A Datadog representative has enabled Preview access for your organization. ## Create data quality monitors @@ -228,5 +228,3 @@ A monitor that has not received a result yet shows {{< ui >}}No data yet{{< /ui [15]: /monitors/types/data_observability/ [16]: /monitors/types/data_observability/#monitor-schedule [17]: /monitors/types/data_observability/?tab=customsql#select-your-metric-type -[18]: /data_observability/network/ -[19]: /data_observability/supported_platforms/#request-preview-access