An admin should be able to set a soft quota for blobstores. A soft quota warning when its limit is violated, but never block writes or reads.
The configuration for a soft quota can be found via the Blob Stores feature view available via the Blob Stores sub menu of the Administration menu. A soft quota is a feature that monitors a blob store and raises an alert when it exceeds a constraint.
Space Used and Space Remaining are the two possible choices for Type of Quota. A Space Used quota alerts when the total bytes used by a blob store exceeds the Quota Limit in MB. Space Remaining quotas are triggered when the space available for new blobs drops below the Quota Limit in MB. When a soft quota is violated, that information will be available in the following locations:
A WARN level message in the logs
In the Status item in the Support sub menu of the Administration menu, the status of all soft quotas is aggregated in the BlobStores status
A REST API endpoint
- quota can be specified as "Space used" or "Space remaining"
- NRXM should report when the quota for a blobstore is exceeded
- report in logs
- rest api - informational message in json
- health check endpoint - quota status