ApsaraDB for Redis does not provide the capacity alarm function. You can configure this function on CloudMonitor. CloudMonitor provides a range of metrics of ApsaraDB for Redis. You can configure the metrics based on your specific needs.
For more information on how to configure metris, see ApsaraDB for Redis monitoring.