Docs Menu
Docs Home
/
MongoDB Cloud Manager
/ / /

Query Latency

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.

Back

Get Suggested Indexes