dc9e435abb
This code change is to enable grafana to use the raw json format dashboards . This is to avoid the conversion of dashboards from json to yaml and back to json during which the format is encountering issue. Also this will help in adding new dashboards and maintaining the old ones. All the exisiting dashboards under values_override folder are updated to use raw json format. Change-Id: I48a7db1514857e082cecbb3b57deff9174509601
109 lines
2.5 KiB
YAML
109 lines
2.5 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
|
|
}
|
|
|
|
manifests:
|
|
job_add_home_dashboard: true |