Performance Advisor
- 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.
Use the following resources to retrieve existing and suggested indexes for a deployment, as well as the namespaces on which slow queries were run and the queries that were slow. For more information, see Monitor and Improve Slow Queries.
To view field values in a sample query in the Performance Advisor, you must be a user with at least one of the following project roles:
Users without one of these roles see redacted data rather than the field values.
For more information about slow queries, see Monitor and Improve Slow Queries.
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 | Retrieves the namespaces for all collections or specified
collections experiencing slow queries on a specified host. | |
GET | Get slow queries as determined by the
Performance Advisor. | |
GET | Get suggested indexes as determined by the
Performance Advisor. |