d5fb81b7f7
Grafana v7.3 has ability to add the customized dashboard as homepage. This removes the necessity to have explicit job to add a homepage. Clean up the explicit add_home-dashboard job. Change-Id: I68baa7693f545e2d91dba01ae61b4bdae8a26bee
109 lines
2.4 KiB
YAML
109 lines
2.4 KiB
YAML
# This override file provides a reference for dashboards for
|
|
# customized OSH Welcome Page
|
|
---
|
|
conf:
|
|
dashboards:
|
|
home_dashboard: |-
|
|
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"id": 66,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"content": "<div class=\"text-center dashboard-header\">\n <span>OSH Home Dashboard</span>\n</div>",
|
|
"editable": true,
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 1,
|
|
"links": [],
|
|
"mode": "html",
|
|
"options": {},
|
|
"style": {},
|
|
"title": "",
|
|
"transparent": true,
|
|
"type": "text"
|
|
},
|
|
{
|
|
"folderId": 0,
|
|
"gridPos": {
|
|
"h": 10,
|
|
"w": 13,
|
|
"x": 6,
|
|
"y": 3
|
|
},
|
|
"headings": true,
|
|
"id": 3,
|
|
"limit": 30,
|
|
"links": [],
|
|
"options": {},
|
|
"query": "",
|
|
"recent": true,
|
|
"search": false,
|
|
"starred": true,
|
|
"tags": [],
|
|
"title": "",
|
|
"type": "dashlist"
|
|
}
|
|
],
|
|
"schemaVersion": 18,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": []
|
|
},
|
|
"time": {
|
|
"from": "now-1h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"hidden": true,
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
],
|
|
"type": "timepicker"
|
|
},
|
|
"timezone": "browser",
|
|
"title": "OSH Home",
|
|
"version": 1
|
|
}
|
|
...
|