How to troubleshoot metric query issues

If you get a panel query error or not seeing the data you expect to see the most important thing to do
is view the query Grafana sends to your database and what the raw response is. This information is not built into Grafana yet but can be easily investigated using Browser Dev Tools.

To open Chrome Dev Tools (F12, Ctrl+Shift+I on windows, Cmd+Opt+I on Mac), go the network tab. Hit refresh on the Grafana dashboard so Grafana sends a new data query. Try to find the query in the list of network calls in the Network tab.

Try to see if there is anything unexpected or wrong in the query Grafana sends to your database. View the response carefully. After viewing the response and still think Grafana is showing the data wrongly then you can open a bug report. Make sure you include the query sent, and the response (remove any sensitive data).

The panel json model can also help in identifying the problem.

Help with metric aggregation
Itens doesn't show on grafana
Influx comparison problem
Grafana/InfluxDB - Network Error: undefined(undefined)
Templating, multi value problem
My datasource,i can see data in qurey inspector ,but no data show int panel?i don't know why,who can me please?
Hide metrics in past days
Glances + InfluxDB + Grafana | Grafana shows no data
Label_values(metric, label) prints surplus results for a long period of time (old metric values)
Could not display charts in panel
Unable to get response from json request
Grafana not responding properly
Data disappears when grouping a count by a term
Can't query elasticsearch data source from grafana
Table Panel with Strange Behaviour
Wrong Elasticsearch query
Singlestat not displaying the "true" value
I am getting negative sum on my singlestat panel but all of my values are positive
Upgrade 4.2 issue ES 5.2
Getting line connected points over a series
Grafana can't show es5 field
Grafana not responding properly
Grafana alerting error
Gauge Thresholds
Wrong value in graph with bars
Table panel for table transform
Custom plugin not working on Grafana 4.4
[Plugin] Data format is required for a graph. Data source works as a table but not for a graph
Timepicker values in scripted dashboards
How can i speed up the loading time of some modules in grafana
Grafana won't talk to Elasticsearch instance
[Resolve] Grafana - InfluxDB : "InfluxDB Error: undefined"
Zabbix toner left value null
Duplicate Outputs in Grafana Table
Grafana: Zabbix plugin. Incorrect line display on graph