Memstore Methods
API for Memstore
These methods are a complement to the standard Memstore API .
-
memstore.usage()
Retrieves information about usage of a Memstore instance.
Parameters: | name (String) – Name of the service. Service names are 1-64 characters A-Z, a-z, 0-9, -, . and _. Ensure this value has at most 64 characters. |
Returns: | a dictionary with the following keys:
- bytes
- Float: Space used in the storage in bytes.
- containers
- Integer: Number of containers in the storage.
- objs
- Integer: Number of objects in the storage.
- bandwidth
- bytes_in
- Float: Number of bytes in for the last 24 hours.
- bytes_out
- Float: Number of bytes out for the last 24 hours.
- requests
- Float: Number of requests for the last 24 hours.
- cdn_bandwidth
- bytes_in
- Float: Number of bytes in the CDN for the last 24 hours.
- bytes_out
- Float: Number of bytes out the CDN for the last 24 hours.
- requests
- Float: Number of requests for the last 24 hours.
|