OpenStack Storage can report on usage metrics by using the
swift-recon middleware added to our
object-server configuration. By using a tool, also named
swift-recon, we can then query these collected metrics.
Log in to an OpenStack Storage node as well as the proxy server.
To collect usage statistics from our OpenStack Storage cluster, carry out the following:
/etc/swift/object-server.confconfiguration file to include the
swift-reconmiddleware, so that it looks similar to the following:
[DEFAULT]bind_ip = 0.0.0.0workers = 2[pipeline:main]pipeline = recon object-server[app:object-server]use = egg:swift#object[object-replicator][object-updater][object-auditor] [filter:recon]use ...