From b1bccf02c0dcbdf844e6423d4cae90e790bdde69 Mon Sep 17 00:00:00 2001 From: Matthias Wirtz Date: Wed, 21 Jan 2026 06:07:21 +0100 Subject: [PATCH] Grafana 12.4.0 --- CHANGELOG.md | 1 + grafana/Dockerfile | 12 ++- grafana/dashboards/battery-health.json | 37 ++++---- grafana/dashboards/charge-level.json | 5 +- grafana/dashboards/charges.json | 50 ++++------ grafana/dashboards/charging-stats.json | 86 +++++++---------- grafana/dashboards/database-info.json | 95 +++++++------------ grafana/dashboards/drive-stats.json | 28 +++--- grafana/dashboards/drives.json | 51 ++++------ grafana/dashboards/efficiency.json | 49 ++++------ .../dashboards/internal/charge-details.json | 26 ++--- .../dashboards/internal/drive-details.json | 37 ++++---- grafana/dashboards/internal/home.json | 8 +- grafana/dashboards/locations.json | 57 ++++------- grafana/dashboards/mileage.json | 5 +- grafana/dashboards/overview.json | 34 +++---- grafana/dashboards/projected-range.json | 11 ++- grafana/dashboards/reports/dutch-tax.json | 15 +-- grafana/dashboards/states.json | 10 +- grafana/dashboards/statistics.json | 19 ++-- grafana/dashboards/timeline.json | 25 ++--- grafana/dashboards/trip.json | 68 ++++++------- grafana/dashboards/updates.json | 19 ++-- grafana/dashboards/vampire-drain.json | 17 ++-- grafana/dashboards/visited.json | 11 ++- 25 files changed, 338 insertions(+), 438 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3ca80fa..63021a39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ feat: add optional dark mode feature (#5065 - @wooter) - feat: use Logger instead of IO.puts in DB check (#5050 - @swiffer) - feat: Increase max_header_value_length to support oauth2-proxy (#5031 - @ultravail) - perf: Replace positions indexes from BTREE to BRIN to reduce memory usage (#5075 - @ilya-y-synth) +- feat: use Grafana 12.4.0 (#4965 - @swiffer) #### Build, CI, internal diff --git a/grafana/Dockerfile b/grafana/Dockerfile index 4fb32d1e..52877a4c 100644 --- a/grafana/Dockerfile +++ b/grafana/Dockerfile @@ -1,6 +1,6 @@ # Ensure selecting a tag that is available for arm/v7, arm64, and amd64 # https://hub.docker.com/r/grafana/grafana/tags -FROM grafana/grafana:12.1.1 +FROM grafana/grafana:12.4.0-21192380408 ENV GF_ANALYTICS_REPORTING_ENABLED=false \ GF_AUTH_ANONYMOUS_ENABLED=false \ @@ -16,14 +16,20 @@ ENV GF_ANALYTICS_REPORTING_ENABLED=false \ GF_DATE_FORMATS_USE_BROWSER_LOCALE=true \ GF_PLUGINS_PREINSTALL_DISABLED=true \ GF_UNIFIED_ALERTING_ENABLED=false \ + GF_METRICS_ENABLED=false \ + GF_RECORDING_RULES_ENABLED=false \ DATABASE_PORT=5432 \ DATABASE_SSL_MODE=disable USER grafana COPY logo.svg /usr/share/grafana/public/img/grafana_icon.svg -COPY favicon.png /usr/share/grafana/public/img/fav32.png -COPY apple-touch-icon.png /usr/share/grafana/public/img/apple-touch-icon.png + +RUN LOGO_PATH=$(find /usr/share/grafana/public/build/static/img/ -type f -name 'grafana_icon.*.svg') && \ + cp /usr/share/grafana/public/img/grafana_icon.svg "$LOGO_PATH" || true + +COPY favicon.png /usr/share/grafana/public/build/img/fav32.png +COPY apple-touch-icon.png /usr/share/grafana/public/build/img/apple-touch-icon.png COPY datasource.yml /etc/grafana/provisioning/datasources/ COPY dashboards.yml /etc/grafana/provisioning/dashboards/ diff --git a/grafana/dashboards/battery-health.json b/grafana/dashboards/battery-health.json index 0a7d232f..4e959b54 100644 --- a/grafana/dashboards/battery-health.json +++ b/grafana/dashboards/battery-health.json @@ -96,7 +96,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -135,7 +135,6 @@ "type": "grafana-postgresql-datasource", "uid": "TeslaMate" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -240,7 +239,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -329,7 +328,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -531,6 +530,7 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { "hideZeros": false, "maxHeight": 600, @@ -538,7 +538,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -632,7 +632,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -671,7 +671,6 @@ "type": "grafana-postgresql-datasource", "uid": "TeslaMate" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -733,7 +732,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -862,7 +861,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1067,7 +1066,7 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1239,7 +1238,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1278,7 +1277,6 @@ "type": "grafana-postgresql-datasource", "uid": "TeslaMate" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -1344,7 +1342,7 @@ "text": {}, "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1547,7 +1545,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1612,7 +1610,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], @@ -1632,6 +1630,7 @@ "query": "SELECT\n id as __value,\n CASE WHEN COUNT(id) OVER (PARTITION BY name) > 1 AND name IS NOT NULL THEN CONCAT(name, ' - ', RIGHT(vin, 6)) ELSE COALESCE(name, CONCAT('VIN ', vin)) end as __text \nFROM cars\nORDER BY display_priority ASC, name ASC, vin ASC", "refresh": 1, "regex": "", + "regexApplyTo": "value", "type": "query" }, { @@ -1648,6 +1647,7 @@ "query": "SELECT unit_of_length FROM settings LIMIT 1", "refresh": 1, "regex": "", + "regexApplyTo": "value", "type": "query" }, { @@ -1664,6 +1664,7 @@ "query": "SELECT preferred_range FROM settings LIMIT 1", "refresh": 1, "regex": "", + "regexApplyTo": "value", "type": "query" }, { @@ -1680,6 +1681,7 @@ "query": "SELECT base_url FROM settings LIMIT 1", "refresh": 1, "regex": "", + "regexApplyTo": "value", "type": "query" }, { @@ -1688,14 +1690,15 @@ "type": "grafana-postgresql-datasource", "uid": "TeslaMate" }, - "definition": "WITH Aux as (\n SELECT \n car_id,\n COALESCE(derived_efficiency, car_efficiency) AS efficiency\n FROM (\n SELECT\n ROUND((charge_energy_added / NULLIF(end_rated_range_km - start_rated_range_km, 0))::numeric, 3) * 100 AS derived_efficiency,\n COUNT(*) as count,\n cars.id as car_id,\n cars.efficiency * 100 AS car_efficiency\n FROM cars\n LEFT JOIN charging_processes ON\n cars.id = charging_processes.car_id \n AND duration_min > 10\n AND end_battery_level <= 95\n AND start_rated_range_km IS NOT NULL\n AND end_rated_range_km IS NOT NULL\n AND charge_energy_added > 0\n WHERE cars.id = $car_id\n GROUP BY 1, 3, 4\n ORDER BY 2 DESC\n LIMIT 1\n ) AS Efficiency\n),\n\nCurrentCapacity AS (\n SELECT\n AVG(Capacity) AS Capacity\n FROM (\n SELECT \n c.rated_battery_range_km * aux.efficiency / c.usable_battery_level AS Capacity\n FROM charging_processes cp\n INNER JOIN charges c ON c.charging_process_id = cp.id \n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n AND c.usable_battery_level > 0\n ORDER BY cp.end_date DESC, c.date desc\n LIMIT 100\n ) AS lastCharges\n),\n\nMaxCapacity AS (\n SELECT \n MAX(c.rated_battery_range_km * aux.efficiency / c.usable_battery_level) AS Capacity\n FROM charging_processes cp\n INNER JOIN (\n SELECT\n charging_process_id,\n MAX(date) as date FROM charges WHERE usable_battery_level > 0 GROUP BY charging_process_id\n ) AS gcharges ON\n cp.id = gcharges.charging_process_id\n INNER JOIN charges c ON\n c.charging_process_id = cp.id\n AND c.date = gcharges.date\n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n),\n\nCurrentRange AS (\n SELECT\n (range * 100.0 / usable_battery_level) AS range\n FROM (\n (\n SELECT\n date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level AS usable_battery_level\n FROM positions\n WHERE\n car_id = $car_id\n AND ideal_battery_range_km IS NOT NULL\n AND usable_battery_level > 0 \n ORDER BY date DESC\n LIMIT 1\n )\n UNION ALL\n (\n SELECT date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level as usable_battery_level\n FROM charges c\n INNER JOIN charging_processes p ON p.id = c.charging_process_id\n WHERE\n p.car_id = $car_id\n AND usable_battery_level > 0\n ORDER BY date DESC\n LIMIT 1\n )\n ) AS data\n ORDER BY date DESC\n LIMIT 1\n),\n\nMaxRange AS (\n SELECT\n floor(extract(epoch from date)/86400)*86400 AS time,\n CASE\n WHEN sum(usable_battery_level) = 0 THEN sum(${preferred_range}_battery_range_km) * 100\n ELSE sum(${preferred_range}_battery_range_km) / sum(usable_battery_level) * 100\n END AS range\n FROM (\n SELECT\n battery_level,\n usable_battery_level,\n date,\n ${preferred_range}_battery_range_km\n FROM charges c \n INNER JOIN charging_processes p ON p.id = c.charging_process_id \n WHERE\n p.car_id = $car_id\n AND usable_battery_level IS NOT NULL\n ) AS data\n GROUP BY 1\n ORDER BY 2 DESC\n LIMIT 1\n),\n\nBase AS (\n SELECT NULL\n)\n\nSELECT\n json_build_object(\n 'MaxRange', convert_km(MaxRange.range,'$length_unit'),\n 'CurrentRange', convert_km(CurrentRange.range,'$length_unit'),\n 'MaxCapacity', MaxCapacity.Capacity,\n 'CurrentCapacity', CASE WHEN CurrentCapacity.Capacity IS NULL THEN 1 ELSE CurrentCapacity.Capacity END,\n 'RatedEfficiency', aux.efficiency\n )\nFROM Base\n LEFT JOIN MaxRange ON true\n LEFT JOIN CurrentRange ON true\n LEFT JOIN Aux ON true\n LEFT JOIN MaxCapacity ON true\n LEFT JOIN CurrentCapacity ON true", + "definition": "WITH Aux as (\n SELECT \n car_id,\n COALESCE(derived_efficiency, car_efficiency) AS efficiency\n FROM (\n SELECT\n ROUND((charge_energy_added / NULLIF(end_rated_range_km - start_rated_range_km, 0))::numeric, 3) * 100 AS derived_efficiency,\n COUNT(*) as count,\n cars.id as car_id,\n cars.efficiency * 100 AS car_efficiency\n FROM cars\n LEFT JOIN charging_processes ON\n cars.id = charging_processes.car_id \n AND duration_min > 10\n AND end_battery_level <= 95\n AND start_rated_range_km IS NOT NULL\n AND end_rated_range_km IS NOT NULL\n AND charge_energy_added > 0\n WHERE cars.id = $car_id\n GROUP BY 1, 3, 4\n ORDER BY 2 DESC\n LIMIT 1\n ) AS Efficiency\n),\n\nCurrentCapacity AS (\n SELECT\n AVG(Capacity) AS Capacity\n FROM (\n SELECT \n c.rated_battery_range_km * aux.efficiency / c.usable_battery_level AS Capacity\n FROM charging_processes cp\n INNER JOIN charges c ON c.charging_process_id = cp.id \n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n AND c.usable_battery_level > 0\n ORDER BY cp.end_date DESC, c.date desc\n LIMIT 100\n ) AS lastCharges\n),\n\nMaxCapacity AS (\n SELECT \n MAX(c.rated_battery_range_km * aux.efficiency / c.usable_battery_level) AS Capacity\n FROM charging_processes cp\n INNER JOIN (\n SELECT\n charging_process_id,\n MAX(date) as date FROM charges WHERE usable_battery_level > 0 GROUP BY charging_process_id\n ) AS gcharges ON\n cp.id = gcharges.charging_process_id\n INNER JOIN charges c ON\n c.charging_process_id = cp.id\n AND c.date = gcharges.date\n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n),\n\nCurrentRange AS (\n SELECT\n (range * 100.0 / usable_battery_level) AS range\n FROM (\n (\n SELECT\n date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level AS usable_battery_level\n FROM positions\n WHERE\n car_id = $car_id\n AND ideal_battery_range_km IS NOT NULL\n AND usable_battery_level > 0 \n ORDER BY date DESC\n LIMIT 1\n )\n UNION ALL\n (\n SELECT date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level as usable_battery_level\n FROM charges c\n INNER JOIN charging_processes p ON p.id = c.charging_process_id\n WHERE\n p.car_id = $car_id\n AND usable_battery_level > 0\n ORDER BY date DESC\n LIMIT 1\n )\n ) AS data\n ORDER BY date DESC\n LIMIT 1\n),\n\nMaxRange AS (\n SELECT\n floor(extract(epoch from date)/86400)*86400 AS time,\n CASE\n WHEN sum(usable_battery_level) = 0 THEN sum(${preferred_range}_battery_range_km) * 100\n ELSE sum(${preferred_range}_battery_range_km) / sum(usable_battery_level) * 100\n END AS range\n FROM (\n SELECT\n battery_level,\n usable_battery_level,\n date,\n ${preferred_range}_battery_range_km\n FROM charges c \n INNER JOIN charging_processes p ON p.id = c.charging_process_id \n WHERE\n p.car_id = $car_id\n AND usable_battery_level IS NOT NULL\n ) AS data\n GROUP BY 1\n ORDER BY 2 DESC\n LIMIT 1\n),\n\nBase AS (\n SELECT NULL\n)\n\nSELECT\n json_build_object(\n 'MaxRange', convert_km(MaxRange.range,'$length_unit'),\n 'CurrentRange', convert_km(CurrentRange.range,'$length_unit'),\n 'MaxCapacity', MaxCapacity.Capacity,\n 'CurrentCapacity', CASE WHEN CurrentCapacity.Capacity IS NULL THEN 1 ELSE CurrentCapacity.Capacity END,\n 'RatedEfficiency', aux.efficiency\n ) #>> '{}'\nFROM Base\n LEFT JOIN MaxRange ON true\n LEFT JOIN CurrentRange ON true\n LEFT JOIN Aux ON true\n LEFT JOIN MaxCapacity ON true\n LEFT JOIN CurrentCapacity ON true", "hide": 2, "includeAll": false, "name": "aux", "options": [], - "query": "WITH Aux as (\n SELECT \n car_id,\n COALESCE(derived_efficiency, car_efficiency) AS efficiency\n FROM (\n SELECT\n ROUND((charge_energy_added / NULLIF(end_rated_range_km - start_rated_range_km, 0))::numeric, 3) * 100 AS derived_efficiency,\n COUNT(*) as count,\n cars.id as car_id,\n cars.efficiency * 100 AS car_efficiency\n FROM cars\n LEFT JOIN charging_processes ON\n cars.id = charging_processes.car_id \n AND duration_min > 10\n AND end_battery_level <= 95\n AND start_rated_range_km IS NOT NULL\n AND end_rated_range_km IS NOT NULL\n AND charge_energy_added > 0\n WHERE cars.id = $car_id\n GROUP BY 1, 3, 4\n ORDER BY 2 DESC\n LIMIT 1\n ) AS Efficiency\n),\n\nCurrentCapacity AS (\n SELECT\n AVG(Capacity) AS Capacity\n FROM (\n SELECT \n c.rated_battery_range_km * aux.efficiency / c.usable_battery_level AS Capacity\n FROM charging_processes cp\n INNER JOIN charges c ON c.charging_process_id = cp.id \n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n AND c.usable_battery_level > 0\n ORDER BY cp.end_date DESC, c.date desc\n LIMIT 100\n ) AS lastCharges\n),\n\nMaxCapacity AS (\n SELECT \n MAX(c.rated_battery_range_km * aux.efficiency / c.usable_battery_level) AS Capacity\n FROM charging_processes cp\n INNER JOIN (\n SELECT\n charging_process_id,\n MAX(date) as date FROM charges WHERE usable_battery_level > 0 GROUP BY charging_process_id\n ) AS gcharges ON\n cp.id = gcharges.charging_process_id\n INNER JOIN charges c ON\n c.charging_process_id = cp.id\n AND c.date = gcharges.date\n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n),\n\nCurrentRange AS (\n SELECT\n (range * 100.0 / usable_battery_level) AS range\n FROM (\n (\n SELECT\n date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level AS usable_battery_level\n FROM positions\n WHERE\n car_id = $car_id\n AND ideal_battery_range_km IS NOT NULL\n AND usable_battery_level > 0 \n ORDER BY date DESC\n LIMIT 1\n )\n UNION ALL\n (\n SELECT date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level as usable_battery_level\n FROM charges c\n INNER JOIN charging_processes p ON p.id = c.charging_process_id\n WHERE\n p.car_id = $car_id\n AND usable_battery_level > 0\n ORDER BY date DESC\n LIMIT 1\n )\n ) AS data\n ORDER BY date DESC\n LIMIT 1\n),\n\nMaxRange AS (\n SELECT\n floor(extract(epoch from date)/86400)*86400 AS time,\n CASE\n WHEN sum(usable_battery_level) = 0 THEN sum(${preferred_range}_battery_range_km) * 100\n ELSE sum(${preferred_range}_battery_range_km) / sum(usable_battery_level) * 100\n END AS range\n FROM (\n SELECT\n battery_level,\n usable_battery_level,\n date,\n ${preferred_range}_battery_range_km\n FROM charges c \n INNER JOIN charging_processes p ON p.id = c.charging_process_id \n WHERE\n p.car_id = $car_id\n AND usable_battery_level IS NOT NULL\n ) AS data\n GROUP BY 1\n ORDER BY 2 DESC\n LIMIT 1\n),\n\nBase AS (\n SELECT NULL\n)\n\nSELECT\n json_build_object(\n 'MaxRange', convert_km(MaxRange.range,'$length_unit'),\n 'CurrentRange', convert_km(CurrentRange.range,'$length_unit'),\n 'MaxCapacity', MaxCapacity.Capacity,\n 'CurrentCapacity', CASE WHEN CurrentCapacity.Capacity IS NULL THEN 1 ELSE CurrentCapacity.Capacity END,\n 'RatedEfficiency', aux.efficiency\n )\nFROM Base\n LEFT JOIN MaxRange ON true\n LEFT JOIN CurrentRange ON true\n LEFT JOIN Aux ON true\n LEFT JOIN MaxCapacity ON true\n LEFT JOIN CurrentCapacity ON true", + "query": "WITH Aux as (\n SELECT \n car_id,\n COALESCE(derived_efficiency, car_efficiency) AS efficiency\n FROM (\n SELECT\n ROUND((charge_energy_added / NULLIF(end_rated_range_km - start_rated_range_km, 0))::numeric, 3) * 100 AS derived_efficiency,\n COUNT(*) as count,\n cars.id as car_id,\n cars.efficiency * 100 AS car_efficiency\n FROM cars\n LEFT JOIN charging_processes ON\n cars.id = charging_processes.car_id \n AND duration_min > 10\n AND end_battery_level <= 95\n AND start_rated_range_km IS NOT NULL\n AND end_rated_range_km IS NOT NULL\n AND charge_energy_added > 0\n WHERE cars.id = $car_id\n GROUP BY 1, 3, 4\n ORDER BY 2 DESC\n LIMIT 1\n ) AS Efficiency\n),\n\nCurrentCapacity AS (\n SELECT\n AVG(Capacity) AS Capacity\n FROM (\n SELECT \n c.rated_battery_range_km * aux.efficiency / c.usable_battery_level AS Capacity\n FROM charging_processes cp\n INNER JOIN charges c ON c.charging_process_id = cp.id \n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n AND c.usable_battery_level > 0\n ORDER BY cp.end_date DESC, c.date desc\n LIMIT 100\n ) AS lastCharges\n),\n\nMaxCapacity AS (\n SELECT \n MAX(c.rated_battery_range_km * aux.efficiency / c.usable_battery_level) AS Capacity\n FROM charging_processes cp\n INNER JOIN (\n SELECT\n charging_process_id,\n MAX(date) as date FROM charges WHERE usable_battery_level > 0 GROUP BY charging_process_id\n ) AS gcharges ON\n cp.id = gcharges.charging_process_id\n INNER JOIN charges c ON\n c.charging_process_id = cp.id\n AND c.date = gcharges.date\n INNER JOIN aux ON cp.car_id = aux.car_id\n WHERE\n cp.car_id = $car_id\n AND cp.end_date IS NOT NULL\n AND cp.charge_energy_added >= aux.efficiency\n),\n\nCurrentRange AS (\n SELECT\n (range * 100.0 / usable_battery_level) AS range\n FROM (\n (\n SELECT\n date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level AS usable_battery_level\n FROM positions\n WHERE\n car_id = $car_id\n AND ideal_battery_range_km IS NOT NULL\n AND usable_battery_level > 0 \n ORDER BY date DESC\n LIMIT 1\n )\n UNION ALL\n (\n SELECT date,\n ${preferred_range}_battery_range_km AS range,\n usable_battery_level as usable_battery_level\n FROM charges c\n INNER JOIN charging_processes p ON p.id = c.charging_process_id\n WHERE\n p.car_id = $car_id\n AND usable_battery_level > 0\n ORDER BY date DESC\n LIMIT 1\n )\n ) AS data\n ORDER BY date DESC\n LIMIT 1\n),\n\nMaxRange AS (\n SELECT\n floor(extract(epoch from date)/86400)*86400 AS time,\n CASE\n WHEN sum(usable_battery_level) = 0 THEN sum(${preferred_range}_battery_range_km) * 100\n ELSE sum(${preferred_range}_battery_range_km) / sum(usable_battery_level) * 100\n END AS range\n FROM (\n SELECT\n battery_level,\n usable_battery_level,\n date,\n ${preferred_range}_battery_range_km\n FROM charges c \n INNER JOIN charging_processes p ON p.id = c.charging_process_id \n WHERE\n p.car_id = $car_id\n AND usable_battery_level IS NOT NULL\n ) AS data\n GROUP BY 1\n ORDER BY 2 DESC\n LIMIT 1\n),\n\nBase AS (\n SELECT NULL\n)\n\nSELECT\n json_build_object(\n 'MaxRange', convert_km(MaxRange.range,'$length_unit'),\n 'CurrentRange', convert_km(CurrentRange.range,'$length_unit'),\n 'MaxCapacity', MaxCapacity.Capacity,\n 'CurrentCapacity', CASE WHEN CurrentCapacity.Capacity IS NULL THEN 1 ELSE CurrentCapacity.Capacity END,\n 'RatedEfficiency', aux.efficiency\n ) #>> '{}'\nFROM Base\n LEFT JOIN MaxRange ON true\n LEFT JOIN CurrentRange ON true\n LEFT JOIN Aux ON true\n LEFT JOIN MaxCapacity ON true\n LEFT JOIN CurrentCapacity ON true", "refresh": 1, "regex": "", + "regexApplyTo": "value", "type": "query" }, { diff --git a/grafana/dashboards/charge-level.json b/grafana/dashboards/charge-level.json index 1f8c2cdc..084fec0b 100644 --- a/grafana/dashboards/charge-level.json +++ b/grafana/dashboards/charge-level.json @@ -86,6 +86,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -138,7 +139,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -263,7 +264,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/charges.json b/grafana/dashboards/charges.json index 414bc3b4..38b63514 100644 --- a/grafana/dashboards/charges.json +++ b/grafana/dashboards/charges.json @@ -123,7 +123,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -222,7 +222,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -322,7 +322,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -423,7 +423,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -467,6 +467,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 150 }, @@ -700,7 +703,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -712,7 +715,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -946,7 +949,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1019,7 +1022,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1031,7 +1034,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1163,18 +1166,10 @@ "id": 6, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1242,7 +1237,7 @@ "content": "From here you can check if you have \nincomplete data of **Charges** (charges without ending date)\nIf so, you may follow the official \nguide by Manually fixing data", "mode": "markdown" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "title": "", "type": "text" }, @@ -1262,6 +1257,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "links": [], @@ -1287,18 +1285,10 @@ "id": 17, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "enablePagination": true, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, + "enablePagination": true, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1335,7 +1325,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/charging-stats.json b/grafana/dashboards/charging-stats.json index 589f0eec..d7d82d91 100644 --- a/grafana/dashboards/charging-stats.json +++ b/grafana/dashboards/charging-stats.json @@ -103,7 +103,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -188,7 +188,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -274,7 +274,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -360,7 +360,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -440,7 +440,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -522,7 +522,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -604,7 +604,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -686,7 +686,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -793,7 +793,7 @@ "unit": "short" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -862,6 +862,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -948,7 +949,7 @@ "sort": "desc" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1127,6 +1128,7 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { "hideZeros": false, "maxHeight": 600, @@ -1134,7 +1136,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1308,10 +1310,11 @@ "id": "fit", "lat": 0, "lon": 0, + "noRepeat": false, "zoom": 15 } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1429,6 +1432,7 @@ "fields": "", "values": false }, + "sort": "desc", "tooltip": { "hideZeros": false, "maxHeight": 600, @@ -1436,7 +1440,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1651,7 +1655,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1726,6 +1730,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 50 }, @@ -1809,18 +1816,10 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1922,6 +1921,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 50 }, @@ -2025,18 +2027,10 @@ "id": 13, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2082,6 +2076,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -2151,17 +2148,9 @@ "id": 4, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2207,6 +2196,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -2272,17 +2264,9 @@ "id": 6, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2319,7 +2303,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/database-info.json b/grafana/dashboards/database-info.json index 2177db35..87b3050d 100644 --- a/grafana/dashboards/database-info.json +++ b/grafana/dashboards/database-info.json @@ -86,7 +86,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -168,7 +168,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -278,7 +278,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -388,7 +388,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -495,7 +495,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -557,6 +557,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 80 }, @@ -604,17 +607,9 @@ "id": 33, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -663,6 +658,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 160 }, @@ -709,17 +707,9 @@ "id": 38, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -769,6 +759,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 110 }, @@ -859,18 +852,10 @@ "id": 41, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "enablePagination": true, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, + "enablePagination": true, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -953,7 +938,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1036,7 +1021,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1118,7 +1103,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1211,7 +1196,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1291,7 +1276,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1346,7 +1331,7 @@ "content": "Check the [contribution docs](https://docs.teslamate.org/docs/development#enable-pg_stat_statements-to-collect-query-statistics) on how to enable tracking planning and execution statistics of all SQL statements executed by a server.\n", "mode": "markdown" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "title": "About pg_stat_statements (track statistics of SQL planning and execution)", "type": "text" }, @@ -1366,6 +1351,9 @@ "type": "auto", "wrapText": false }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -1448,19 +1436,11 @@ "id": 45, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "enablePagination": true, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, + "enablePagination": true, "showHeader": true, "sortBy": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1510,6 +1490,9 @@ "type": "auto", "wrapText": false }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -1592,19 +1575,11 @@ "id": 46, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "enablePagination": true, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, + "enablePagination": true, "showHeader": true, "sortBy": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1641,7 +1616,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/drive-stats.json b/grafana/dashboards/drive-stats.json index bf929563..26c9c94e 100644 --- a/grafana/dashboards/drive-stats.json +++ b/grafana/dashboards/drive-stats.json @@ -89,7 +89,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -199,7 +199,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -284,7 +284,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -402,7 +402,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -513,7 +513,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -579,7 +579,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -679,7 +679,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -799,7 +799,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -920,7 +920,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1054,7 +1054,7 @@ "xTickLabelRotation": 0, "xTickLabelSpacing": 0 }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1179,7 +1179,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1290,7 +1290,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1421,7 +1421,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1458,7 +1458,7 @@ ], "preload": false, "refresh": false, - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/drives.json b/grafana/dashboards/drives.json index 1e14890f..b1371499 100644 --- a/grafana/dashboards/drives.json +++ b/grafana/dashboards/drives.json @@ -129,7 +129,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -230,7 +230,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -350,7 +350,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -470,7 +470,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -559,6 +559,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false, "minWidth": 150 }, @@ -915,7 +918,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1097,7 +1100,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1109,7 +1112,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1121,7 +1124,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1219,7 +1222,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1255,19 +1258,10 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "enablePagination": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1335,7 +1329,7 @@ "content": "From here you can check if you have \nincomplete data of **Drives** (drives without ending date)\nIf so, you may follow the official \nguide by Manually fixing data", "mode": "markdown" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "title": "", "type": "text" }, @@ -1355,6 +1349,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "links": [], @@ -1380,18 +1377,10 @@ "id": 9, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "enablePagination": true, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, + "enablePagination": true, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1428,7 +1417,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/efficiency.json b/grafana/dashboards/efficiency.json index 9b797c65..40c524b4 100644 --- a/grafana/dashboards/efficiency.json +++ b/grafana/dashboards/efficiency.json @@ -130,7 +130,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -242,7 +242,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -354,7 +354,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -401,6 +401,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -643,14 +646,6 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -659,7 +654,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -770,7 +765,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -817,6 +812,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -874,17 +872,9 @@ "id": 12, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -931,6 +921,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -988,17 +981,9 @@ "id": 15, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1035,7 +1020,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/internal/charge-details.json b/grafana/dashboards/internal/charge-details.json index 402f98be..78d478c2 100644 --- a/grafana/dashboards/internal/charge-details.json +++ b/grafana/dashboards/internal/charge-details.json @@ -74,6 +74,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -350,7 +351,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -452,7 +453,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -533,7 +534,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "alias": "Elapsed Time", @@ -673,7 +674,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -780,7 +781,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -985,10 +986,11 @@ "id": "fit", "lat": 0, "lon": 0, + "noRepeat": false, "zoom": 15 } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1082,7 +1084,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1222,7 +1224,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1330,7 +1332,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1475,7 +1477,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1707,7 +1709,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1772,7 +1774,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [], "templating": { "list": [ diff --git a/grafana/dashboards/internal/drive-details.json b/grafana/dashboards/internal/drive-details.json index 4cad4d3c..aa436655 100644 --- a/grafana/dashboards/internal/drive-details.json +++ b/grafana/dashboards/internal/drive-details.json @@ -80,6 +80,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -462,7 +463,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -605,10 +606,11 @@ "id": "fit", "lat": 0, "lon": 0, + "noRepeat": false, "zoom": 15 } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -676,6 +678,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -770,7 +773,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -838,6 +841,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -1040,7 +1044,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1111,6 +1115,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -1292,7 +1297,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1397,7 +1402,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1489,7 +1494,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1573,7 +1578,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1706,7 +1711,7 @@ "xTickLabelRotation": 0, "xTickLabelSpacing": 0 }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1839,7 +1844,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1921,7 +1926,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2040,7 +2045,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2132,7 +2137,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2248,7 +2253,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2357,7 +2362,7 @@ "textMode": "value", "wideLayout": false }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2393,7 +2398,7 @@ } ], "preload": false, - "schemaVersion": 41, + "schemaVersion": 42, "tags": [], "templating": { "list": [ diff --git a/grafana/dashboards/internal/home.json b/grafana/dashboards/internal/home.json index da4ffe64..9b4468de 100644 --- a/grafana/dashboards/internal/home.json +++ b/grafana/dashboards/internal/home.json @@ -45,7 +45,7 @@ "showStarred": false, "tags": [] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "title": "", "type": "dashlist" }, @@ -70,7 +70,7 @@ "content": "
", "mode": "html" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "title": "", "type": "text" }, @@ -90,13 +90,13 @@ "feedUrl": "https://corsproxy.io/?url=https://github.com/teslamate-org/teslamate/tags.atom", "showImage": false }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "title": "Releases", "type": "news" } ], "preload": false, - "schemaVersion": 41, + "schemaVersion": 42, "tags": [], "templating": { "list": [] diff --git a/grafana/dashboards/locations.json b/grafana/dashboards/locations.json index 35adc4fe..2896dc34 100644 --- a/grafana/dashboards/locations.json +++ b/grafana/dashboards/locations.json @@ -89,7 +89,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -189,7 +189,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -269,7 +269,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -349,7 +349,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -438,7 +438,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -532,7 +532,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -582,6 +582,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -641,14 +644,6 @@ "id": 22, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -657,7 +652,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -706,6 +701,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "decimals": 2, @@ -881,7 +879,7 @@ "id": "custom.align" }, { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -897,17 +895,9 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -964,6 +954,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "decimals": 2, @@ -1047,7 +1040,7 @@ "id": "custom.align" }, { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1063,17 +1056,9 @@ "id": 6, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1118,7 +1103,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/mileage.json b/grafana/dashboards/mileage.json index b7304a09..1682e4fe 100644 --- a/grafana/dashboards/mileage.json +++ b/grafana/dashboards/mileage.json @@ -86,6 +86,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -176,7 +177,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -213,7 +214,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/overview.json b/grafana/dashboards/overview.json index 6792d6a3..1a010778 100644 --- a/grafana/dashboards/overview.json +++ b/grafana/dashboards/overview.json @@ -108,7 +108,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -273,7 +273,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -356,7 +356,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -466,6 +466,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -526,7 +527,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -637,7 +638,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -740,7 +741,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -851,7 +852,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -972,7 +973,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1077,7 +1078,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1195,7 +1196,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1263,6 +1264,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -1414,7 +1416,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1525,7 +1527,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1619,7 +1621,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1702,7 +1704,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1841,7 +1843,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1878,7 +1880,7 @@ ], "preload": false, "refresh": "30s", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/projected-range.json b/grafana/dashboards/projected-range.json index b1a51662..61c821d7 100644 --- a/grafana/dashboards/projected-range.json +++ b/grafana/dashboards/projected-range.json @@ -101,6 +101,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -176,7 +177,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -272,6 +273,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -348,7 +350,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -444,6 +446,7 @@ "type": "linear" }, "showPoints": "never", + "showValues": false, "spanNulls": true, "stacking": { "group": "A", @@ -548,7 +551,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -613,7 +616,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/reports/dutch-tax.json b/grafana/dashboards/reports/dutch-tax.json index 799e69a1..71ac48aa 100644 --- a/grafana/dashboards/reports/dutch-tax.json +++ b/grafana/dashboards/reports/dutch-tax.json @@ -65,6 +65,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -297,14 +300,6 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -313,7 +308,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -350,7 +345,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [], "templating": { "list": [ diff --git a/grafana/dashboards/states.json b/grafana/dashboards/states.json index bb110b73..105fb013 100644 --- a/grafana/dashboards/states.json +++ b/grafana/dashboards/states.json @@ -104,7 +104,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -190,7 +190,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -288,7 +288,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -427,7 +427,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -464,7 +464,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/statistics.json b/grafana/dashboards/statistics.json index 9a0dc815..534a73ea 100644 --- a/grafana/dashboards/statistics.json +++ b/grafana/dashboards/statistics.json @@ -65,6 +65,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -501,7 +504,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -513,7 +516,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -624,14 +627,6 @@ "maxPerRow": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "frameIndex": 1, "showHeader": true, "sortBy": [ @@ -641,7 +636,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1091,7 +1086,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/timeline.json b/grafana/dashboards/timeline.json index 0607e2c3..9b23503e 100644 --- a/grafana/dashboards/timeline.json +++ b/grafana/dashboards/timeline.json @@ -74,6 +74,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -157,7 +160,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -169,7 +172,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -289,7 +292,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -301,7 +304,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -483,7 +486,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -499,14 +502,6 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -515,7 +510,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -603,7 +598,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/trip.json b/grafana/dashboards/trip.json index 4c762ad3..b791c3bf 100644 --- a/grafana/dashboards/trip.json +++ b/grafana/dashboards/trip.json @@ -163,10 +163,11 @@ "id": "fit", "lat": 0, "lon": 0, + "noRepeat": false, "zoom": 15 } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -285,7 +286,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -418,6 +419,7 @@ "fields": "", "values": true }, + "sort": "desc", "tooltip": { "hideZeros": false, "maxHeight": 600, @@ -425,7 +427,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -582,7 +584,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -700,7 +702,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -821,7 +823,7 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -941,7 +943,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1052,7 +1054,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1149,7 +1151,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1297,7 +1299,7 @@ "sizing": "auto", "valueMode": "color" }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1454,7 +1456,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1504,6 +1506,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "decimals": 2, @@ -1719,7 +1724,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1803,7 +1808,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -1819,14 +1824,6 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -1835,7 +1832,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -1884,6 +1881,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "decimals": 2, @@ -2068,7 +2068,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -2080,7 +2080,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -2216,7 +2216,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -2248,7 +2248,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -2264,14 +2264,6 @@ "id": 36, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -2280,7 +2272,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2473,7 +2465,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2636,7 +2628,7 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -2673,7 +2665,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/updates.json b/grafana/dashboards/updates.json index 898fd04d..9e578cbe 100644 --- a/grafana/dashboards/updates.json +++ b/grafana/dashboards/updates.json @@ -96,7 +96,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -176,7 +176,7 @@ "textMode": "value", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -223,6 +223,9 @@ "type": "auto" }, "filterable": false, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -458,14 +461,6 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true, "sortBy": [ { @@ -474,7 +469,7 @@ } ] }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -511,7 +506,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/vampire-drain.json b/grafana/dashboards/vampire-drain.json index 78563db2..1743072e 100644 --- a/grafana/dashboards/vampire-drain.json +++ b/grafana/dashboards/vampire-drain.json @@ -67,6 +67,9 @@ "cellOptions": { "type": "auto" }, + "footer": { + "reducers": [] + }, "inspect": false }, "mappings": [], @@ -236,7 +239,7 @@ }, "properties": [ { - "id": "custom.hidden", + "id": "custom.hideFrom.viz", "value": true } ] @@ -467,17 +470,9 @@ "id": 2, "options": { "cellHeight": "sm", - "footer": { - "countRows": false, - "fields": "", - "reducer": [ - "sum" - ], - "show": false - }, "showHeader": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -522,7 +517,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ], diff --git a/grafana/dashboards/visited.json b/grafana/dashboards/visited.json index e3249be3..85b90668 100644 --- a/grafana/dashboards/visited.json +++ b/grafana/dashboards/visited.json @@ -160,10 +160,11 @@ "id": "fit", "lat": 0, "lon": 0, + "noRepeat": false, "zoom": 15 } }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -245,7 +246,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -369,7 +370,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -454,7 +455,7 @@ "textMode": "value_and_name", "wideLayout": true }, - "pluginVersion": "12.1.1", + "pluginVersion": "12.4.0", "targets": [ { "datasource": { @@ -491,7 +492,7 @@ ], "preload": false, "refresh": "", - "schemaVersion": 41, + "schemaVersion": 42, "tags": [ "tesla" ],