Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pauldardeau/41b5e2a46184837cee61759f3045b54e to your computer and use it in GitHub Desktop.

Select an option

Save pauldardeau/41b5e2a46184837cee61759f3045b54e to your computer and use it in GitHub Desktop.
swift recon curl
curl -i http://localhost:6030/recon/???
From http://docs.openstack.org/developer/swift/admin_guide.html
The following metrics and telemetry are currently exposed:
Request URI Description
/recon/load returns 1,5, and 15 minute load average
/recon/mem returns /proc/meminfo
/recon/mounted returns ALL currently mounted filesystems
/recon/unmounted returns all unmounted drives if mount_check = True
/recon/diskusage returns disk utilization for storage devices
/recon/ringmd5 returns object/container/account ring md5sums
/recon/quarantined returns # of quarantined objects/accounts/containers
/recon/sockstat returns consumable info from /proc/net/sockstat|6
/recon/devices returns list of devices and devices dir i.e. /srv/node
/recon/async returns count of async pending
/recon/replication returns object replication info (for backward compatibility)
/recon/replication/<type> returns replication info for given type (account, container, object)
/recon/auditor/<type> returns auditor stats on last reported scan for given type (account, container, object)
/recon/updater/<type> returns last updater sweep times for given type (container, object)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment