Skip to content

Commit

Permalink
add default grafana dashboard json
Browse files Browse the repository at this point in the history
  • Loading branch information
jlopp committed May 5, 2024
1 parent 1c84dcb commit 6ad172f
Showing 1 changed file with 140 additions and 0 deletions.
140 changes: 140 additions & 0 deletions home.json
Original file line number Diff line number Diff line change
@@ -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": "<table cellspacing='0' cellpadding='0' style='border-collapse: collapse;border:none'><tr><td style='border:none'><img src=/public/img/statoshi.png /></td><td style='border:none'><div><h2>Statoshi.info - Realtime Bitcoin Node Stats</h2>To learn about the purpose of statoshi.info, <a href='https://blog.lopp.net/announcing-statoshi-info/'><u>read this</u>.</a><br/>To learn how to use Grafana, <a href='https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/'><u>RTFM</u></a> and <a href='https://grafana.com/tutorials/'><u>WTFV</u></a><br/>In order to create an account on statoshi.info, <a href='https://blog.lopp.net/statoshi-info-account-creation-guide/'><u>follow this guide</u>.</a><br/>Statoshi is open source; you can <a href='https://github.com/jlopp/statoshi'><u>find us on GitHub</u></a></td></tr></table>"
},
{
"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"
}

0 comments on commit 6ad172f

Please sign in to comment.