mirror of
https://github.com/teslamate-org/teslamate.git
synced 2026-01-24 21:06:08 +08:00
Welcome Dashboard
This commit is contained in:
committed by
JakobLichterfeld
parent
f44eeee937
commit
1f734f7b19
@@ -18,6 +18,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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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("https://digitalassets.tesla.com/tesla-contents/image/upload/c_pad,dpr_1.0,f_auto,q_auto/c_pad/Group_83?pgw=1");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": ""
|
||||
}
|
||||
Reference in New Issue
Block a user