Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11230

The example API request is incorrect in https://docs.atlas.mongodb.com/reference/api/process-disks-measurements/

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Atlas

    Description

      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.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            susan.hannon@mongodb.com Susan Hannon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 3 weeks, 5 days ago