Skip to content

Commit

Permalink
Welcome Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
swiffer committed Nov 1, 2024
1 parent fcbcab5 commit da8a583
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- fix: allow editing of dashboards - [changes will be overwritten on update](https://grafana.com/docs/grafana/latest/administration/provisioning/#making-changes-to-a-provisioned-dashboard)
- fix: ensure max speed panels are converted according to length unit setting in drive stats dashboard
- perf: speed up queries used to calculate max speed in drive stats dashboard
- feat: add a welcome dashboard

#### Translations

Expand Down
1 change: 1 addition & 0 deletions grafana/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENV GF_ANALYTICS_REPORTING_ENABLED=false \
GF_USERS_ALLOW_SIGN_UP=false \
GF_USERS_DEFAULT_LANGUAGE=detect \
GF_DATE_FORMATS_USE_BROWSER_LOCALE=true \
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/dashboards_internal/home.json \
DATABASE_PORT=5432 \
DATABASE_SSL_MODE=disable

Expand Down
119 changes: 119 additions & 0 deletions grafana/dashboards/internal/home.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"__elements": {},
"__requires": [
{
"type": "panel",
"id": "dashlist",
"name": "Dashboard list",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "11.2.3"
},
{
"type": "datasource",
"id": "grafana-postgresql-datasource",
"name": "PostgreSQL",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
}
],
"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": "grafana-postgresql-datasource",
"uid": "TeslaMate"
},
"gridPos": {
"h": 20,
"w": 7,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"folderUID": "Nr4ofiDZk",
"includeVars": false,
"keepTime": false,
"maxItems": 100,
"query": "",
"showFolderNames": false,
"showHeadings": false,
"showRecentlyViewed": false,
"showSearch": true,
"showStarred": false,
"tags": []
},
"pluginVersion": "11.2.3",
"type": "dashlist"
},
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "TeslaMate"
},
"gridPos": {
"h": 20,
"w": 17,
"x": 7,
"y": 0
},
"id": 1,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<div style=\"background-size: cover; background-image: url(&quot;https://digitalassets.tesla.com/tesla-contents/image/upload/c_pad,dpr_1.0,f_auto,q_auto/c_pad/Group_83?pgw=1&quot;);width:100%;height:100%;background-position:center;\"></div>",
"mode": "html"
},
"pluginVersion": "11.2.3",
"type": "text"
}
],
"schemaVersion": 39,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Home",
"uid": "be2m9kga7b8qoc",
"version": 1,
"weekStart": ""
}

0 comments on commit da8a583

Please sign in to comment.