From d0f307be5bdac845ed512c8e138c6341d99f12a7 Mon Sep 17 00:00:00 2001 From: simono41 Date: Mon, 20 Jan 2025 00:10:35 +0100 Subject: [PATCH] =?UTF-8?q?Train=20Tracker-1737318239499.json=20gel=C3=B6s?= =?UTF-8?q?cht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Train Tracker-1737318239499.json | 237 ------------------------------- 1 file changed, 237 deletions(-) delete mode 100644 Train Tracker-1737318239499.json diff --git a/Train Tracker-1737318239499.json b/Train Tracker-1737318239499.json deleted file mode 100644 index 798a12a..0000000 --- a/Train Tracker-1737318239499.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "__inputs": [ - { - "name": "DS_MARIADB_TRAIN-TRACKER", - "label": "mariadb train-tracker", - "description": "", - "type": "datasource", - "pluginId": "mysql", - "pluginName": "MySQL" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "geomap", - "name": "Geomap", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "11.4.0" - }, - { - "type": "datasource", - "id": "mysql", - "name": "MySQL", - "version": "11.3.1" - } - ], - "annotations": { - "list": [ - { - "builtIn": 1, - "datasource": { - "type": "grafana", - "uid": "-- Grafana --" - }, - "enable": true, - "hide": true, - "iconColor": "rgba(0, 211, 255, 1)", - "name": "Annotations & Alerts", - "type": "dashboard" - } - ] - }, - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": null, - "links": [], - "panels": [ - { - "datasource": { - "type": "mysql", - "uid": "${DS_MARIADB_TRAIN-TRACKER}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 23, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 1, - "options": { - "basemap": { - "config": {}, - "name": "Layer 0", - "type": "default" - }, - "controls": { - "mouseWheelZoom": true, - "showAttribution": true, - "showDebug": false, - "showMeasure": false, - "showScale": true, - "showZoom": true - }, - "layers": [ - { - "config": { - "showLegend": false, - "style": { - "color": { - "fixed": "dark-green" - }, - "opacity": 0.4, - "rotation": { - "fixed": 0, - "max": 360, - "min": -360, - "mode": "mod" - }, - "size": { - "fixed": 5, - "max": 15, - "min": 2 - }, - "symbol": { - "fixed": "img/icons/marker/circle.svg", - "mode": "fixed" - }, - "symbolAlign": { - "horizontal": "center", - "vertical": "center" - }, - "textConfig": { - "fontSize": 12, - "offsetX": 0, - "offsetY": 0, - "textAlign": "center", - "textBaseline": "middle" - } - } - }, - "location": { - "mode": "auto" - }, - "name": "Layer 1", - "tooltip": true, - "type": "markers" - } - ], - "tooltip": { - "mode": "details" - }, - "view": { - "allLayers": true, - "id": "fit", - "lat": 0, - "lon": 0, - "zoom": 15 - } - }, - "pluginVersion": "11.4.0", - "targets": [ - { - "dataset": "mysql", - "datasource": { - "type": "mysql", - "uid": "${DS_MARIADB_TRAIN-TRACKER}" - }, - "editorMode": "code", - "format": "table", - "rawQuery": true, - "rawSql": "SELECT\n timestamp AS \"time\",\n latitude,\n longitude,\n train_name,\n fahrt_nr,\n destination,\n delay / 60 AS delay_minutes\nFROM traindb.trips\nWHERE\n $__timeFilter(timestamp) AND\n train_name IN (${train_name:sqlstring})\nORDER BY timestamp\n", - "refId": "A", - "sql": { - "columns": [ - { - "parameters": [], - "type": "function" - } - ], - "groupBy": [ - { - "property": { - "type": "string" - }, - "type": "groupBy" - } - ], - "limit": 50 - } - } - ], - "title": "Abfahrten Züge", - "type": "geomap" - } - ], - "refresh": "1m", - "schemaVersion": 40, - "tags": [], - "templating": { - "list": [ - { - "current": {}, - "datasource": { - "type": "mysql", - "uid": "${DS_MARIADB_TRAIN-TRACKER}" - }, - "definition": "SELECT\n train_name\nFROM traindb.trips", - "includeAll": true, - "label": "Zugname", - "multi": true, - "name": "train_name", - "options": [], - "query": "SELECT\n train_name\nFROM traindb.trips", - "refresh": 1, - "regex": "", - "sort": 1, - "type": "query" - } - ] - }, - "time": { - "from": "now/d", - "to": "now/d" - }, - "timepicker": {}, - "timezone": "Europe/Berlin", - "title": "Train Tracker", - "uid": "bdz979doey5tsa", - "version": 13, - "weekStart": "" -} \ No newline at end of file