Alerting problem: error message “error=“context deadline exceeded”

Using Grafana 10 with InfluxDB and performing the following query:

SELECT “source”, “usage_average” FROM “vsphere_host_mem” WHERE (“vcenter” =~ /^X.X.X.X$/ AND “clustername” =~ /^UCS - B200 M5 X6148 80 cores$/) GROUP BY “source”

I get the following error:

Failed to evaluate queries and expressions: failed to execute query A: net/http: request canceled (Client.Timeout or context cancellation while reading body)

Any idea what this is?

Hi! :wave: It looks like InfluxDB query is taking too long and Grafana is timing out after 30 seconds.

Yeah I rewrote my query to get what I want