Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: exclude streaming data in visited dashboard #4287

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions grafana/dashboards/visited.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
"format": "table",
"hide": false,
"rawQuery": true,
"rawSql": "SELECT\n date_trunc('minute', date) as time,\n avg(latitude) as latitude,\n avg(longitude) as longitude\nFROM\n positions\nWHERE\n car_id = $car_id AND $__timeFilter(date)\nGROUP BY 1\nORDER BY 1",
"rawSql": "SELECT\n date_trunc('minute', date) as time,\n avg(latitude) as latitude,\n avg(longitude) as longitude\nFROM\n positions\nWHERE\n car_id = $car_id AND $__timeFilter(date) and ideal_battery_range_km is not null\nGROUP BY 1\nORDER BY 1",
"refId": "Positions",
"sql": {
"columns": [
Expand Down Expand Up @@ -738,7 +738,6 @@
"from": "now-90d",
"to": "now"
},
"timeRangeUpdatedDuringEditOrView": false,
"timepicker": {
"refresh_intervals": [
"5s",
Expand Down Expand Up @@ -767,6 +766,6 @@
"timezone": "",
"title": "Visited",
"uid": "RG_DxSmgk",
"version": 3,
"version": 5,
"weekStart": ""
}
Loading