Update Grafana default dashboard. Update uuid for provisioning.

Fix metric order to get display the latest know vessel position vs the first one
This commit is contained in:
xbgmsharp
2024-01-26 11:31:08 +01:00
parent f25e735674
commit ed8514bfb1
7 changed files with 9 additions and 9 deletions

View File

@@ -204,7 +204,7 @@
"editorMode": "code",
"format": "table",
"rawQuery": true,
"rawSql": "SELECT latitude, longitude FROM api.metrics WHERE vessel_id = '${boat}' ORDER BY time ASC LIMIT 1;",
"rawSql": "SELECT latitude, longitude FROM api.metrics WHERE vessel_id = '${boat}' ORDER BY time DESC LIMIT 1;",
"refId": "A",
"sql": {
"columns": [
@@ -291,7 +291,7 @@
},
"timezone": "browser",
"title": "Home",
"uid": "d81aa15b",
"uid": "pgsail_tpl_home",
"version": 1,
"weekStart": ""
}
}