[DOCS-15933] [ATLAS CLI] Bad values for "type" arg on Atlas CLI docs page for "atlas processes metrics" Created: 01/Mar/23  Updated: 13/Mar/23  Resolved: 13/Mar/23

Status: Closed
Project: Documentation
Component/s: Atlas
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Participants:
Days since reply: 49 weeks ago

 Description   

Hello, on this page:

https://www.mongodb.com/docs/atlas/cli/stable/command/atlas-metrics-processes/#std-label-atlas-metrics-processes

There's a list of values for the "--type" argument to "atlas metrics processes":

Measurements to return. If this is not specified, all measurements are returned. Valid values are DATABASE_AVERAGE_OBJECT_SIZE, DATABASE_COLLECTION_COUNT, DATABASE_DATA_SIZE, DATABASE_STORAGE_SIZE, DATABASE_INDEX_SIZE, DATABASE_INDEX_COUNT, DATABASE_EXTENT_COUNT, DATABASE_OBJECT_COUNT, and DATABASE_VIEW_COUNT

 
This seems to be completely wrong:

atlas metrics processes <foo>.mongodb.net:27017 --projectId <br> --period P1D --granularity PT1M --type DATABASE_COLLECTION_COUNT
Error: GET https://cloud.mongodb.com/api/atlas/v1.0/groups/5977618e4e65816ace7047d9/processes/m17prod-keyword-shard-00-01.8rrni.mongodb.net:27017/measurements?granularity=PT1M&itemsPerPage=100&m=DATABASE_COLLECTION_COUNT&pageNum=1&period=P1D: 404 (request "INVALID_METRIC_NAME") An invalid metric name DATABASE_COLLECTION_COUNT was specified.

I think that none of those listed metrics are valid arguments. In fact there are about 130 metrics, but none of them is listed on the page.


Generated at Thu Feb 08 08:14:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.