Skip to content

Commit

Permalink
Grafana Exploration Main
Browse files Browse the repository at this point in the history
  • Loading branch information
swiffer committed Nov 23, 2024
1 parent 0d997ff commit 283de20
Show file tree
Hide file tree
Showing 22 changed files with 350 additions and 1,305 deletions.
2 changes: 1 addition & 1 deletion grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -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:11.2.3
FROM grafana/grafana:main

ENV GF_ANALYTICS_REPORTING_ENABLED=false \
GF_AUTH_ANONYMOUS_ENABLED=false \
Expand Down
62 changes: 33 additions & 29 deletions grafana/dashboards/battery-health.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.2.3"
"version": "11.3.0"
},
{
"type": "datasource",
Expand Down Expand Up @@ -90,7 +90,6 @@
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"datasource": {
Expand Down Expand Up @@ -150,7 +149,7 @@
"textMode": "value_and_name",
"wideLayout": true
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -298,7 +297,7 @@
"textMode": "value_and_name",
"wideLayout": true
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -402,7 +401,7 @@
"textMode": "value_and_name",
"wideLayout": true
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -773,7 +772,7 @@
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -856,6 +855,12 @@
"id": 12,
"options": {
"displayMode": "gradient",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
Expand All @@ -872,7 +877,7 @@
"sizing": "auto",
"valueMode": "color"
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -998,7 +1003,7 @@
"textMode": "value_and_name",
"wideLayout": true
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1188,6 +1193,12 @@
"id": 25,
"options": {
"displayMode": "lcd",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
Expand All @@ -1205,7 +1216,7 @@
"text": {},
"valueMode": "color"
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1400,7 +1411,7 @@
"textMode": "value",
"wideLayout": true
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1483,6 +1494,12 @@
"id": 27,
"options": {
"displayMode": "gradient",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 10,
"minVizWidth": 0,
Expand All @@ -1500,7 +1517,7 @@
"text": {},
"valueMode": "color"
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1742,7 +1759,7 @@
"sort": "none"
}
},
"pluginVersion": "11.2.3",
"pluginVersion": "11.3.0",
"targets": [
{
"alias": "",
Expand Down Expand Up @@ -1852,7 +1869,7 @@
}
],
"refresh": "",
"schemaVersion": 39,
"schemaVersion": 40,
"tags": [
"tesla"
],
Expand All @@ -1876,10 +1893,7 @@
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
},
{
"current": {},
Expand All @@ -1890,7 +1904,6 @@
"definition": "SELECT unit_of_length FROM settings LIMIT 1",
"hide": 2,
"includeAll": false,
"label": "",
"multi": false,
"name": "length_unit",
"options": [],
Expand All @@ -1899,10 +1912,7 @@
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
},
{
"current": {},
Expand Down Expand Up @@ -1932,7 +1942,6 @@
"definition": "SELECT base_url FROM settings LIMIT 1",
"hide": 2,
"includeAll": false,
"label": "",
"multi": false,
"name": "base_url",
"options": [],
Expand All @@ -1941,10 +1950,7 @@
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
},
{
"current": {},
Expand All @@ -1967,7 +1973,6 @@
},
{
"current": {
"selected": false,
"text": "0",
"value": "0"
},
Expand All @@ -1988,7 +1993,6 @@
},
{
"current": {
"selected": false,
"text": "0",
"value": "0"
},
Expand Down
46 changes: 5 additions & 41 deletions grafana/dashboards/charge-level.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.2.3"
"version": "11.3.0"
},
{
"type": "datasource",
Expand Down Expand Up @@ -62,11 +62,9 @@
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": "TeslaMate",
"gridPos": {
"h": 1,
"w": 24,
Expand Down Expand Up @@ -311,7 +309,7 @@
}
],
"refresh": "",
"schemaVersion": 39,
"schemaVersion": 40,
"tags": [
"tesla"
],
Expand All @@ -335,10 +333,7 @@
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
},
{
"current": {},
Expand All @@ -349,7 +344,6 @@
"definition": "select base_url from settings limit 1;",
"hide": 2,
"includeAll": false,
"label": "",
"multi": false,
"name": "base_url",
"options": [],
Expand All @@ -358,10 +352,7 @@
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tagsQuery": "",
"type": "query",
"useTags": false
"type": "query"
},
{
"current": {
Expand Down Expand Up @@ -393,7 +384,6 @@
}
],
"query": "1h : 3600, 2h : 7200, 4h : 14400",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
Expand Down Expand Up @@ -421,7 +411,6 @@
}
],
"query": "no : 0, yes : 1",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
Expand Down Expand Up @@ -450,7 +439,6 @@
}
],
"query": "1/6 of interval : 6, 1/12 of interval : 12",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
Expand Down Expand Up @@ -479,31 +467,7 @@
"from": "now-6M",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timepicker": {},
"timezone": "",
"title": "Charge Level",
"uid": "WopVO_mgz",
Expand Down
Loading

0 comments on commit 283de20

Please sign in to comment.