-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example code for creating new dashboard with row #212
Comments
What is the resulting JSON of this dashboard? 🤔 |
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
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: