mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
196 lines
4.0 KiB
JSON
196 lines
4.0 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "grafana",
|
|
"uid": "-- Grafana --"
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"target": {
|
|
"limit": 100,
|
|
"matchAny": false,
|
|
"tags": [],
|
|
"type": "dashboard"
|
|
},
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 0,
|
|
"id": 7,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "postgres",
|
|
"uid": "OIttR1sVk"
|
|
},
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 10,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 3,
|
|
"links": [],
|
|
"options": {
|
|
"folderId": 0,
|
|
"includeVars": false,
|
|
"keepTime": false,
|
|
"maxItems": 30,
|
|
"query": "",
|
|
"showHeadings": true,
|
|
"showRecentlyViewed": true,
|
|
"showSearch": false,
|
|
"showStarred": true,
|
|
"tags": []
|
|
},
|
|
"pluginVersion": "10.1.0",
|
|
"tags": [],
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "postgres",
|
|
"uid": "OIttR1sVk"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "PostgSail Dashboards",
|
|
"type": "dashlist"
|
|
},
|
|
{
|
|
"autoZoom": true,
|
|
"datasource": {
|
|
"type": "postgres",
|
|
"uid": "PCC52D03280B7034C"
|
|
},
|
|
"defaultLayer": "OpenStreetMap",
|
|
"gridPos": {
|
|
"h": 13,
|
|
"w": 12,
|
|
"x": 10,
|
|
"y": 0
|
|
},
|
|
"id": 5,
|
|
"lineColor": "red",
|
|
"maxDataPoints": 500,
|
|
"pointColor": "royalblue",
|
|
"scrollWheelZoom": false,
|
|
"showLayerChanger": true,
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "postgres",
|
|
"uid": "PCC52D03280B7034C"
|
|
},
|
|
"editorMode": "code",
|
|
"format": "table",
|
|
"rawQuery": true,
|
|
"rawSql": "SELECT \"latitude\" as value, $__time(time) FROM api.metrics WHERE $__timeFilter(time) ORDER BY time ASC;",
|
|
"refId": "A",
|
|
"sql": {
|
|
"columns": [
|
|
{
|
|
"parameters": [],
|
|
"type": "function"
|
|
}
|
|
],
|
|
"groupBy": [
|
|
{
|
|
"property": {
|
|
"type": "string"
|
|
},
|
|
"type": "groupBy"
|
|
}
|
|
],
|
|
"limit": 50
|
|
}
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "postgres",
|
|
"uid": "PCC52D03280B7034C"
|
|
},
|
|
"editorMode": "code",
|
|
"format": "table",
|
|
"hide": false,
|
|
"rawQuery": true,
|
|
"rawSql": "SELECT \"longitude\" as value, $__time(time) FROM api.metrics WHERE $__timeFilter(time) ORDER BY time ASC;",
|
|
"refId": "B",
|
|
"sql": {
|
|
"columns": [
|
|
{
|
|
"parameters": [],
|
|
"type": "function"
|
|
}
|
|
],
|
|
"groupBy": [
|
|
{
|
|
"property": {
|
|
"type": "string"
|
|
},
|
|
"type": "groupBy"
|
|
}
|
|
],
|
|
"limit": 50
|
|
}
|
|
}
|
|
],
|
|
"title": "Location",
|
|
"type": "pr0ps-trackmap-panel"
|
|
}
|
|
],
|
|
"refresh": "",
|
|
"revision": 1,
|
|
"schemaVersion": 38,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": []
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"hidden": true,
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
],
|
|
"type": "timepicker"
|
|
},
|
|
"timezone": "browser",
|
|
"title": "Home",
|
|
"uid": "d81aa15b",
|
|
"version": 1,
|
|
"weekStart": ""
|
|
} |