Alerting Grafana InfluxDB

In grafana how do I create a separate alert for influxql commands below


Normally I define an alert that gives this error