This is what returns in the query method of DataSource look like.
query
DataSource
but I can’t display in grafana, give an error Unable to graph data Switch to table view
Unable to graph data Switch to table view
I have solved the problem.