The S3 gateway can collect usage statistics for S3 users and S3 buckets. The collected data are saved as regular objects. One such object contains statistics for the set usage period.
To enable statistics collection, set
True in the gateway configuration file (/var/lib/ostor/local/gw.conf by default).
Other options you may need to set are:
S3_GW_USAGE_PERIOD (usage period in a single statistics object, in seconds) and
S3_GW_USAGE_CACHE_TIMEOUT (the frequency of dumping statistics from memory to storage, in seconds).