Query Latency
Cloud Manager will no longer support Automation, Backup, and Monitoring for MongoDB 3.6 and 4.0 after August 30th, 2024. Please upgrade your MongoDB deployment or migrate to Atlas.
- OAuth 2.0 authentication for programmatic access to Cloud Manager is available as a Preview feature.
- The feature and the corresponding documentation might change at any time during the Preview period. To use OAuth 2.0 authentication, create a service account to use in your requests to the Cloud Manager Public API.
Monitor collection-level query latency. You can view query latency metrics and statistics for certain hosts and operation types. Manage pinned namespaces and choose up to five namespaces to show in the corresponding query latency charts.
Note
Groups and projects are synonymous terms. Your {PROJECT-ID}
is the
same as your project id. For existing groups, your group/project id
remains the same. This page uses the more familiar term group when
referring to descriptions. The endpoint remains as stated in the
document.
Base URL: https://cloud.mongodb.com/api/public/v1.0
Method | Endpoint | Description |
---|---|---|
GET | Return all available query latency metric names and their
respective units for the specified project at the time of
request. | |
PUT | Pin a list of namespaces for collection-level latency metrics
collection for the specified project and cluster. This action
initializes a pinned namespaces list or replaces any existing
pinned namespaces list for the project or cluster. | |
PATCH | Add a list of namespaces to an existing pinned namespaces list
for collection-level query latency metrics collection for the
specified project and cluster. | |
GET | Return a list of pinned namespaces for the specified cluster. | |
PATCH | Remove a provided list of namespaces from your pinned namespaces. | |
GET | Return a list of query latency measurements for the specified
namespace. | |
GET | Return a subset of namespaces from the specified cluster sorted
by the highest total execution time in descending order within
the specified time window. | |
GET | Return a list of host-level query latency measurements for
the specified namespace. | |
GET | Return a subset of namespaces from the specified host sorted
by the highest total execution. |