Skip to content

Commit

Permalink
exclude streaming data in visited dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
swiffer committed Oct 20, 2024
1 parent 944c074 commit ce941d3
Showing 1 changed file with 2 additions and 3 deletions.
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": ""
}

0 comments on commit ce941d3

Please sign in to comment.