How can I see the disk space usage or free disk space in an EventStore Cloud cluster? I want to be able to forecast when I will need to upgrade, since in Azure a backup/restore with downtime is required.
the /stats
endpoint provides that info ::
https://developers.eventstore.com/clients/http-api/v5/api.html#get-all-stats
There’s also a 3d party prometheus exporter:
https://developers.eventstore.com/server/v21.10/diagnostics.html#prometheus
you can also ask for specfic stats :
curl -X GET https://[NODE ADDRESS] /stats/sys/drive -H 'Accept: application/json'
If you set up Prometheus and the exporter, you will see the available disk space as one of the metrics available https://developers.eventstore.com/server/v21.10/diagnostics.html#prometheus