Navigation

Performance Advisor

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 about slow queries and possible performance improvements, see the Performance Advisor monitoring page.

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.

https://cloud.mongodb.com/api/atlas/v1.0

Method
Endpoint
Description
GET
Retrieves the namespaces for collections experiencing slow queries for a specified host.
GET
Get log lines for slow queries as determined by the Performance Advisor.
GET
Get suggested indexes as determined by the Performance Advisor.
POST
Enable the Atlas managed slow operation threshold for your project.
DELETE
Disable the Atlas managed slow operation threshold for your project.
Give Feedback