Complete the command to list all Atlas clusters.
atlas [1] listThe command to list all clusters is 'atlas clusters list'. You need the cluster name to query its metrics.
Complete the command to fetch CPU usage metric for a cluster in Atlas.
atlas clusters metrics get --clusterName [1] --metricName cpuUsageYou need to specify the actual cluster name after --clusterName to fetch its metrics.
Fix the error in the Atlas metrics query to specify the correct time range option.
atlas clusters metrics get --clusterName myCluster --metricName connections --[1] 1h
The correct option to specify the time range for Atlas metrics is --period followed by the duration like '1h'.
Fill both blanks to filter Atlas metrics for a specific host and metric type.
atlas clusters metrics get --clusterName myCluster --host [1] --metricName [2]
To filter metrics for a specific host and metric, use the host name and the metric name respectively.
Fill all three blanks to create a filter for Atlas metrics by cluster, host, and metric type.
atlas clusters metrics get --clusterName [1] --host [2] --metricName [3]
Specify the cluster name, host name, and metric name to filter Atlas metrics precisely.