Open ykyuen opened 2 years ago
What is the resulting JSON of this dashboard? :thinking:
Thanks for the follow up. here is the exported json.
{
"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": 34,
"links": [],
"panels": [
{
"aliasColors": null,
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 1,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 0,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Sample graph",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": ""
},
"type": "graph",
"x-axis": true,
"xaxis": {
"buckets": null,
"format": "",
"logBase": 0,
"mode": "time",
"name": null,
"show": false,
"values": []
},
"y-axis": true,
"yaxes": null,
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": null,
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 7
},
"hiddenSeries": false,
"id": 2,
"isNew": true,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"rightSide": false,
"show": false,
"total": false,
"values": false
},
"lines": false,
"linewidth": 0,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": "Sample Source 1",
"expr": "sample request 1",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Sample graph 2",
"tooltip": {
"shared": false,
"sort": 0,
"value_type": ""
},
"type": "graph",
"x-axis": true,
"xaxis": {
"buckets": null,
"format": "",
"logBase": 0,
"mode": "time",
"name": null,
"show": false,
"values": []
},
"y-axis": true,
"yaxes": null,
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {
"refresh_intervals": null,
"time_options": null
},
"timezone": "browser",
"title": "Sample dashboard title",
"uid": "2PfuKQCnk",
"version": 1
}
Hi all,
i follow the example code and try creating a new dashboard.
The dashboard is successfully created but there is no row with name "Sample row title".
What i suppose to have...
What did i miss?
Thanks for developing this project.
Regards, Kit