Returns, adds, and edits pinned namespaces for the specified cluster or process.
The atlas api sub-command is automatically generated from the MongoDB Atlas Admin API and offers full coverage of the Admin API. Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.
Also returns collection level latency metric data.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for collectionLevelMetrics |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Name of the profile to use from your configuration file. To learn about profiles for the Atlas CLI, see https://dochub.mongodb.org/core/atlas-cli-save-connection-settings. |
Related Commands
atlas api collectionLevelMetrics getClusterNamespaces - Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window.
atlas api collectionLevelMetrics getProcessNamespaces - Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window.
atlas api collectionLevelMetrics listCollStatMeasurements - Get a list of the Coll Stats Latency cluster-level measurements for the given namespace.
atlas api collectionLevelMetrics listCollStatMetrics - Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request.
atlas api collectionLevelMetrics listPinnedNamespaces - Returns a list of given cluster's pinned namespaces, a set of namespaces manually selected by users to collect query latency metrics on.
atlas api collectionLevelMetrics listProcessMeasurements - Get a list of the Coll Stats Latency process-level measurements for the given namespace.
atlas api collectionLevelMetrics pinNamespaces - Pin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster.
atlas api collectionLevelMetrics unpinNamespaces - Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster.
atlas api collectionLevelMetrics updatePinnedNamespaces - Add provided list of namespaces to existing pinned namespaces list for collection-level latency metrics collection for the given Group and Cluster.