use my fork of monerod_exporter and jazz up the dashboard

testing-process-exporter
lza_menace 4 years ago
parent 30ee005fe2
commit e052590689

@ -1,5 +1,6 @@
FROM ubuntu:20.04 as og FROM ubuntu:20.04 as og
ENV DEBIAN_FRONTEND noninteractive
ARG threads ARG threads
WORKDIR /opt/monero WORKDIR /opt/monero

@ -2,7 +2,7 @@ FROM node:8
WORKDIR /opt/monerod_exporter WORKDIR /opt/monerod_exporter
RUN git clone https://github.com/ExcitableAardvark/monerod_exporter.git --branch=master --depth=1 . RUN git clone https://github.com/lalanza808/monerod_exporter.git --branch=master --depth=1 .
RUN npm install RUN npm install

@ -24,11 +24,11 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": null, "datasource": null,
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 18,
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
@ -44,7 +44,7 @@
"values": false "values": false
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 3,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": { "options": {
"dataLinks": [] "dataLinks": []
@ -67,6 +67,11 @@
"expr": "avg(monerod_connections_outgoing)", "expr": "avg(monerod_connections_outgoing)",
"legendFormat": "Outgoing", "legendFormat": "Outgoing",
"refId": "B" "refId": "B"
},
{
"expr": "avg(monerod_rpc_connections_count)",
"legendFormat": "RPC",
"refId": "C"
} }
], ],
"thresholds": [], "thresholds": [],
@ -117,16 +122,16 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": null, "datasource": null,
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 6,
"x": 12, "x": 18,
"y": 0 "y": 0
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 2, "id": 8,
"legend": { "legend": {
"avg": false, "avg": false,
"current": false, "current": false,
@ -144,20 +149,21 @@
}, },
"percentage": false, "percentage": false,
"pointradius": 2, "pointradius": 2,
"points": false, "points": true,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/.*/", "alias": "/.*/",
"color": "#C4162A" "color": "#FA6400"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": true, "steppedLine": false,
"targets": [ "targets": [
{ {
"expr": "avg(monerod_block_difficulty)", "expr": "avg(monerod_block_reward)",
"legendFormat": "Block Reward (XMR)",
"refId": "A" "refId": "A"
} }
], ],
@ -165,7 +171,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Difficulty", "title": "Block Reward (XMR)",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,
@ -181,6 +187,7 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": null,
"format": "none", "format": "none",
"label": null, "label": null,
"logBase": 1, "logBase": 1,
@ -194,7 +201,7 @@
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
"show": true "show": false
} }
], ],
"yaxis": { "yaxis": {
@ -208,16 +215,16 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": null, "datasource": null,
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 9,
"w": 12, "w": 12,
"x": 0, "x": 0,
"y": 9 "y": 9
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 8, "id": 6,
"legend": { "legend": {
"avg": false, "avg": false,
"current": false, "current": false,
@ -235,21 +242,21 @@
}, },
"percentage": false, "percentage": false,
"pointradius": 2, "pointradius": 2,
"points": false, "points": true,
"renderer": "flot", "renderer": "flot",
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/.*/", "alias": "/.*/",
"color": "#FA6400" "color": "#8F3BB8"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
"stack": false, "stack": false,
"steppedLine": false, "steppedLine": true,
"targets": [ "targets": [
{ {
"expr": "avg(monerod_block_reward)", "expr": "avg(monerod_tx_mempool)",
"legendFormat": "Block Reward (XMR)", "legendFormat": "Pool Transactions",
"refId": "A" "refId": "A"
} }
], ],
@ -257,7 +264,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Block Reward (XMR)", "title": "Mempool Transactions",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,
@ -273,8 +280,7 @@
}, },
"yaxes": [ "yaxes": [
{ {
"decimals": null, "format": "short",
"format": "none",
"label": null, "label": null,
"logBase": 1, "logBase": 1,
"max": null, "max": null,
@ -287,7 +293,7 @@
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
"show": false "show": true
} }
], ],
"yaxis": { "yaxis": {
@ -301,16 +307,16 @@
"dashLength": 10, "dashLength": 10,
"dashes": false, "dashes": false,
"datasource": null, "datasource": null,
"fill": 1, "fill": 0,
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 9,
"w": 12, "w": 12,
"x": 12, "x": 12,
"y": 9 "y": 9
}, },
"hiddenSeries": false, "hiddenSeries": false,
"id": 6, "id": 2,
"legend": { "legend": {
"avg": false, "avg": false,
"current": false, "current": false,
@ -321,7 +327,7 @@
"values": false "values": false
}, },
"lines": true, "lines": true,
"linewidth": 1, "linewidth": 3,
"nullPointMode": "connected", "nullPointMode": "connected",
"options": { "options": {
"dataLinks": [] "dataLinks": []
@ -333,7 +339,7 @@
"seriesOverrides": [ "seriesOverrides": [
{ {
"alias": "/.*/", "alias": "/.*/",
"color": "#8F3BB8" "color": "#C4162A"
} }
], ],
"spaceLength": 10, "spaceLength": 10,
@ -341,8 +347,7 @@
"steppedLine": true, "steppedLine": true,
"targets": [ "targets": [
{ {
"expr": "avg(monerod_tx_mempool)", "expr": "avg(monerod_block_difficulty)",
"legendFormat": "Pool Transactions",
"refId": "A" "refId": "A"
} }
], ],
@ -350,7 +355,7 @@
"timeFrom": null, "timeFrom": null,
"timeRegions": [], "timeRegions": [],
"timeShift": null, "timeShift": null,
"title": "Mempool Transactions", "title": "Difficulty",
"tooltip": { "tooltip": {
"shared": true, "shared": true,
"sort": 0, "sort": 0,
@ -365,6 +370,14 @@
"values": [] "values": []
}, },
"yaxes": [ "yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{ {
"format": "short", "format": "short",
"label": null, "label": null,
@ -372,6 +385,90 @@
"max": null, "max": null,
"min": null, "min": null,
"show": true "show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 20,
"x": 0,
"y": 18
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/.*/",
"color": "#1F60C4"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "monerod_database_size",
"legendFormat": "Chain Size",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Chain Size",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}, },
{ {
"format": "short", "format": "short",
@ -408,10 +505,10 @@
"thresholdMarkers": true "thresholdMarkers": true
}, },
"gridPos": { "gridPos": {
"h": 5, "h": 8,
"w": 8, "w": 4,
"x": 8, "x": 20,
"y": 17 "y": 18
}, },
"id": 10, "id": 10,
"interval": null, "interval": null,
@ -482,7 +579,7 @@
"list": [] "list": []
}, },
"time": { "time": {
"from": "now-6h", "from": "now-1h",
"to": "now" "to": "now"
}, },
"timepicker": { "timepicker": {
@ -502,5 +599,5 @@
"timezone": "", "timezone": "",
"title": "Daemon Stats", "title": "Daemon Stats",
"uid": "0ktA4KDGk", "uid": "0ktA4KDGk",
"version": 2 "version": 3
} }

Loading…
Cancel
Save