Skip to content

Commit

Permalink
imporove sql
Browse files Browse the repository at this point in the history
  • Loading branch information
sheyanjie-qq committed Jul 4, 2024
1 parent 3f1ad67 commit 3311cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboards/TDinsightV3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,7 @@
"formatType": "Time series",
"queryType": "SQL",
"refId": "A",
"sql": "select _wstart as ts, last(cpu_engine) as taosd, last(cpu_system) as `system` from $database.taosd_dnodes_info where dnode_ep = '$fqdn' and _ts >= $from and _ts <= $to interval($interval) fill(null)"
"sql": "select _wstart as ts, avg(cpu_engine) as taosd, avg(cpu_system) as `system` from $database.taosd_dnodes_info where dnode_ep = '$fqdn' and _ts >= $from and _ts <= $to interval($interval) fill(null)"
}
],
"timeFrom": null,
Expand Down

0 comments on commit 3311cc6

Please sign in to comment.