From 6ad172f451f3f6bf2a3cef7e09b2a624b2ed99c5 Mon Sep 17 00:00:00 2001 From: Jameson Lopp Date: Sun, 5 May 2024 11:25:42 -0400 Subject: [PATCH] add default grafana dashboard json --- home.json | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 home.json diff --git a/home.json b/home.json new file mode 100644 index 0000000000000..de470ace98abe --- /dev/null +++ b/home.json @@ -0,0 +1,140 @@ +{ + "links": [], + "panels": [ + { + "datasource": null, + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "title": "", + "transparent": false, + "type": "text", + "mode": "html", + "content": "

Statoshi.info - Realtime Bitcoin Node Stats

To learn about the purpose of statoshi.info, read this.
To learn how to use Grafana, RTFM and WTFV
In order to create an account on statoshi.info, follow this guide.
Statoshi is open source; you can find us on GitHub
" + }, + { + "gridPos": { + "h": 15, + "w": 12, + "x": 0, + "y": 4 + }, + "title": "Blocks & Transactions", + "error": false, + "editable": false, + "type": "graph", + "id": 2, + "datasource": null, + "renderer": "flot", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "short", + "none" + ], + "grid": { + "leftLogBase": 1, + "leftMax": null, + "rightMax": null, + "leftMin": null, + "rightMin": null, + "rightLogBase": 1, + "threshold1": null, + "threshold2": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "lines": true, + "fill": 1, + "linewidth": 2, + "points": false, + "pointradius": 5, + "bars": false, + "stack": false, + "percentage": false, + "legend": { + "show": true, + "values": true, + "min": false, + "max": false, + "current": false, + "total": false, + "avg": true + }, + "nullPointMode": "connected", + "steppedLine": false, + "tooltip": { + "value_type": "cumulative", + "shared": true + }, + "timeFrom": null, + "timeShift": null, + "targets": [ + { + "target": "alias(stats.gauges.blocks.currentHeight, 'Block Height')" + }, + { + "target": "alias(stats.transactions.accepted, 'Transactions Per Second')" + } + ], + "aliasColors": {}, + "seriesOverrides": [ + { + "alias": "stats.gauges.blocks.currentHeight", + "yaxis": 2 + }, + { + "alias": "Block Height", + "yaxis": 2 + } + ], + "links": [] + }, + { + "datasource": null, + "folderId": 0, + "gridPos": { + "h": 15, + "w": 12, + "x": 12, + "y": 4 + }, + "id": 3, + "links": [], + "options": { + "showStarred": false, + "showRecentlyViewed":false, + "showSearch": true, + "showHeadings": true, + "folderId": 0, + "maxItems": 30, + "tags": [], + "query": "" + }, + "title": "", + "type": "dashlist" + } + ], + "schemaVersion": 22, + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "editable": false, + "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": "Home" +} \ No newline at end of file