Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 42 additions & 11 deletions distros/raspberry_pi/grafana/dashboards/node_monitoring.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2",
"pluginVersion": "11.5.2",
"targets": [
{
"datasource": "InfluxDB_v1",
Expand Down Expand Up @@ -251,7 +251,7 @@
"showThresholdMarkers": true,
"sizing": "auto"
},
"pluginVersion": "11.2.2",
"pluginVersion": "11.5.2",
"targets": [
{
"alias": "cpu_load",
Expand Down Expand Up @@ -764,7 +764,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2",
"pluginVersion": "11.5.2",
"targets": [
{
"datasource": "InfluxDB_v1",
Expand Down Expand Up @@ -901,7 +901,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2",
"pluginVersion": "11.5.2",
"targets": [
{
"datasource": "InfluxDB_v1",
Expand Down Expand Up @@ -956,8 +956,8 @@
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"h": 2,
"w": 2,
"x": 0,
"y": 5
},
Expand All @@ -982,7 +982,7 @@
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.2.2",
"pluginVersion": "11.5.2",
"targets": [
{
"datasource": "InfluxDB_v1",
Expand Down Expand Up @@ -1014,6 +1014,31 @@
"title": "Chain head",
"type": "stat"
},
{
"fieldConfig": {
"defaults": {},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 2,
"x": 2,
"y": 5
},
"id": 46,
"options": {
"code": {
"language": "plaintext",
"showLineNumbers": false,
"showMiniMap": false
},
"content": "<div style=\"display: flex; justify-content: center; align-items: center; height: 50px;\">\r\n <a href=\"https://web3pi.io\" target=\"_blank\" style=\"display: flex; align-items: center; height: 100%;\">\r\n <img src=\"/public/img/web3pi_logo.png\" alt=\"Web3Pi Logo\" style=\"max-height: 95%; cursor: pointer;\">\r\n </a>\r\n</div>\r\n",
"mode": "markdown"
},
"pluginVersion": "11.5.2",
"title": "",
"type": "text"
},
{
"datasource": "InfluxDB_v1",
"description": "",
Expand Down Expand Up @@ -1255,14 +1280,20 @@
"overrides": []
},
"gridPos": {
"h": 6,
"h": 7,
"w": 4,
"x": 0,
"y": 8
"y": 7
},
"id": 16,
"options": {
"displayMode": "lcd",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 16,
"minVizWidth": 0,
Expand All @@ -1283,7 +1314,7 @@
},
"valueMode": "text"
},
"pluginVersion": "11.2.2",
"pluginVersion": "11.5.2",
"targets": [
{
"datasource": "InfluxDB_v1",
Expand Down Expand Up @@ -3910,7 +3941,7 @@
}
],
"refresh": "10s",
"schemaVersion": 39,
"schemaVersion": 40,
"tags": [],
"templating": {
"list": [
Expand Down
Binary file added distros/raspberry_pi/grafana/img/web3pi_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions distros/raspberry_pi/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,9 @@ if [ "$(get_install_stage)" -eq 2 ]; then
# Copy dashboards.yaml for grafana
cp /opt/web3pi/Ethereum-On-Raspberry-Pi/distros/raspberry_pi/grafana/yaml/dashboards.yaml /etc/grafana/provisioning/dashboards/dashboards.yaml

# Copy images for grafana
cp /opt/web3pi/Ethereum-On-Raspberry-Pi/distros/raspberry_pi/grafana/img/*.png /usr/share/grafana/public/img/

systemctl start grafana-server


Expand Down