|
The below example API request quoted on our documentation in Get Measurements of a Disk for a MongoDB Process is incorrect as it does not specify that the user needs to insert the disk partition name.
curl -u "<ATLAS-USERNAME>:<API-KEY>" --digest -i "https://cloud.mongodb.com/api/atlas/v1.0/groups/{GROUP-ID}/processes/{HOST}:{PORT}/disks/monitoring/granularity=PT5M&period=PT5M?pretty=true"
|
The above request results in a 404 error message.
I believe the example API request should be:
curl -u "ATLAS-USERNAME:API-KEY" --digest -i "https://cloud.mongodb.com/api/atlas/v1.0/groups/59fb49213b34b92edc3aec26/processes/txup-mga-001-shard-00-00-0gmrd.azure.mongodb.net:27017/disks/{disk partition name}/measurements?granularity=PT5M&period=PT5M"
|
Note the user should be able to obtain the disk partition name by running https://docs.atlas.mongodb.com/reference/api/process-disks/.
Thank you in advance for any assistance with improving this.
|