diff --git a/content/en/database_monitoring/data_collected.md b/content/en/database_monitoring/data_collected.md index d659ff48e35..59880e7e0b9 100644 --- a/content/en/database_monitoring/data_collected.md +++ b/content/en/database_monitoring/data_collected.md @@ -19,6 +19,7 @@ The metrics used for Database Monitoring views are, primarily: - **Postgres**: `postgresql.queries.*` - **SQL Server**: `sqlserver.queries.*` - **Oracle**: `oracle.queries.*` +- **MongoDB**: `mongodb.queries.*` (requires Agent v7.78 or later) ## Normalized queries diff --git a/content/en/database_monitoring/setup_mongodb/mongodbatlas.md b/content/en/database_monitoring/setup_mongodb/mongodbatlas.md index f29da977610..34f75a78aeb 100644 --- a/content/en/database_monitoring/setup_mongodb/mongodbatlas.md +++ b/content/en/database_monitoring/setup_mongodb/mongodbatlas.md @@ -245,6 +245,14 @@ Refer to the [MongoDB integration documentation][4] for a comprehensive list of {{% dbm-mongodb-agent-data-collected %}} +### Query Metrics + +**Note**: Query metrics for MongoDB require Datadog Agent v7.78 or later. + +To collect query metrics, ensure you have granted the required permissions as described in the [Grant the Agent access](#grant-the-agent-access-to-your-mongodb-atlas-cluster) section. The Agent automatically collects query metrics once properly configured. + +Query metrics provide insights into the performance of your MongoDB operations. For more information, see [Query Metrics][5]. + ## Further Reading {{< partial name="whats-next/whats-next.html" >}} @@ -253,3 +261,4 @@ Refer to the [MongoDB integration documentation][4] for a comprehensive list of [2]: /account_management/api-app-keys/ [3]: /integrations/mongodb_atlas/ [4]: /integrations/mongodb_atlas/#metrics +[5]: /database_monitoring/query_metrics/ diff --git a/content/en/database_monitoring/setup_mongodb/selfhosted.md b/content/en/database_monitoring/setup_mongodb/selfhosted.md index 1cd05d94999..31346fcb6aa 100644 --- a/content/en/database_monitoring/setup_mongodb/selfhosted.md +++ b/content/en/database_monitoring/setup_mongodb/selfhosted.md @@ -195,5 +195,15 @@ Refer to the [MongoDB integration documentation][2] for a comprehensive list of {{% dbm-mongodb-agent-data-collected %}} +### Query Metrics + +**Note**: Query metrics for MongoDB require Datadog Agent v7.78 or later. + +To collect query metrics, ensure you have granted the required permissions as described in the [Grant the Agent access](#grant-the-agent-access-to-your-mongodb-instances) section. The Agent automatically collects query metrics once properly configured. + +Query metrics provide insights into the performance of your MongoDB operations. For more information, see [Query Metrics][3]. + +[3]: /database_monitoring/query_metrics/ + [1]: /account_management/api-app-keys/ [2]: /integrations/mongo/?tab=standalone#metrics