Query Latency
- 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 |
---|---|---|
| Return all available query latency metric names and their respective units for the specified project at the time of request. | |
| 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. | |
| Add a list of namespaces to an existing pinned namespaces list for collection-level query latency metrics collection for the specified project and cluster. | |
| Return a list of pinned namespaces for the specified cluster. | |
| Remove a provided list of namespaces from your pinned namespaces. | |
| Return a list of query latency measurements for the specified namespace. | |
| Return a subset of namespaces from the specified cluster sorted by the highest total execution time in descending order within the specified time window. | |
| Return a list of host-level query latency measurements for the specified namespace. | |
| Return a subset of namespaces from the specified host sorted by the highest total execution. |