Grafana alert feature is not working and throwing the error message “The data source does not support alerting queries”

Did you set the alarm’s hysteresis to zero?