{ "__inputs": [ { "name": "DS_INFLUXDB", "label": "InfluxDB", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "7.3.7" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Miners statistics", "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "iteration": 1629269857941, "links": [], "panels": [ { "collapsed": false, "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 32, "panels": [], "title": "Balance and revenue", "type": "row" }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "unit", "value": "XCH" } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "unit", "value": "ETH" } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 1 }, "hiddenSeries": false, "id": 60, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": false, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:337", "alias": "revenue (fiat)", "bars": false, "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "revenue (ETH)", "groupBy": [ { "params": [ "1d" ], "type": "time" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000000000 FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND \"coin\" = 'eth' AND $timeFilter) GROUP BY time(1d) TZ('$timezone');", "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "result" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1d" ], "type": "non_negative_derivative" }, { "params": [ " / 1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "alias": "revenue (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000000000*$exchange_rate FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND \"coin\" = 'eth' AND $timeFilter) GROUP BY time(1d) TZ('$timezone');", "rawQuery": true, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] }, { "alias": "revenue (XCH)", "groupBy": [ { "params": [ "1d" ], "type": "time" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000 FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND \"coin\" = 'xch' AND $timeFilter) GROUP BY time(1d) TZ('$timezone');", "rawQuery": true, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "result" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "1d" ], "type": "non_negative_derivative" }, { "params": [ " / 1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "alias": "revenue (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000*$exchange_rate FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND \"coin\" = 'xch' AND $timeFilter) GROUP BY time(1d) TZ('$timezone');", "rawQuery": true, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Daily revenue", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:180", "decimals": 5, "format": "XCH", "label": "income", "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:181", "format": "short", "label": "income (fiat)", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 1 }, "hiddenSeries": false, "id": 66, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "total": false, "values": false }, "lines": false, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": false }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "blocks", "groupBy": [ { "params": [ "1d" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_pool_blocks_chart", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(blocks_increase) FROM (select non_negative_difference(\"confirmed\") AS blocks_increase FROM \"flexpool_pool_block_count\" WHERE $timeFilter) GROUP BY time(1d) TZ('$timezone');", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "blockCount" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "coin", "operator": "=~", "value": "/^$coin$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Daily blocks", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:258", "decimals": null, "format": "short", "label": "blocks", "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:259", "decimals": 0, "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "unit", "value": "XCH" } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "unit", "value": "ETH" } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 9 }, "hiddenSeries": false, "id": 62, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": false, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:456", "alias": "revenue (fiat)", "bars": false, "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "revenue (XCH)", "groupBy": [ { "params": [ "30d" ], "type": "time" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000000000 FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND coin = 'xch' AND $timeFilter) GROUP BY time(30d) TZ('$timezone');", "rawQuery": true, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "result" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "30d" ], "type": "non_negative_derivative" }, { "params": [ " / 1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "alias": "revenue (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000000000*$exchange_rate FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND coin = 'xch' AND $timeFilter) GROUP BY time(30d) TZ('$timezone');", "rawQuery": true, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] }, { "alias": "revenue (ETH)", "groupBy": [ { "params": [ "30d" ], "type": "time" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000000000 FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND coin = 'eth' AND $timeFilter) GROUP BY time(30d) TZ('$timezone');", "rawQuery": true, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "result" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "30d" ], "type": "non_negative_derivative" }, { "params": [ " / 1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "alias": "revenue (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "hide": false, "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(balance_increase)/1000000000000000000 *$exchange_rate FROM (select non_negative_difference(\"balance\") AS balance_increase FROM \"flexpool_miner_balance\" WHERE \"miner\" =~ /^$miner$/ AND coin = 'eth' AND $timeFilter) GROUP BY time(30d) TZ('$timezone');", "rawQuery": true, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Monthly revenue", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "min": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:180", "decimals": 5, "format": "XCH", "label": "income", "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:181", "format": "short", "label": "income (fiat)", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": true, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 9 }, "hiddenSeries": false, "id": 67, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": false, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "blocks", "groupBy": [ { "params": [ "31d" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_pool_blocks_chart", "orderByTime": "ASC", "policy": "default", "query": "SELECT sum(blocks_increase) FROM (select non_negative_difference(\"confirmed\") AS blocks_increase FROM \"flexpool_pool_block_count\" WHERE $timeFilter) GROUP BY time(30d) TZ('$timezone');", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "blockCount" ], "type": "field" }, { "params": [], "type": "sum" } ] ], "tags": [ { "key": "coin", "operator": "=~", "value": "/^$coin$/" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Monthly blocks", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "min": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:180", "decimals": null, "format": "short", "label": "blocks", "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:181", "format": "short", "label": "", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "unit", "value": "XCH" } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "unit", "value": "ETH" } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 17 }, "hiddenSeries": false, "id": 28, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true, "dataLinks": [] }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:209", "alias": "balance (fiat)", "lines": false, "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "balance (XCH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "/1000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "balance (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "/1000000000000*$exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "balance (ETH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"value\") FROM \"measurement\" WHERE $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "/1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "balance (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ "/1000000000000000000*$exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Unpaid balance", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:1341", "decimals": 5, "format": "XCH", "label": "balance", "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:1342", "format": "short", "label": "balance (fiat)", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "decimals": 5, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "balance (fiat)" }, "properties": [ { "id": "decimals", "value": 2 } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 17 }, "hideTimeOverride": true, "id": 30, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "alias": "balance (XCH)", "groupBy": [], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "/1000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "balance (fiat)", "groupBy": [], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000*$exchange_rate FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "/1000000000000*$exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "balance (ETH)", "groupBy": [], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "/1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "balance (fiat)", "groupBy": [], "measurement": "flexpool_miner_balance", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000*$exchange_rate FROM \"flexpool_miner_balance\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "balance" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "/1000000000000000000*$exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] } ], "timeFrom": "5m", "timeShift": null, "title": "Unpaid balance", "type": "stat" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "unit", "value": "XCH" } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "unit", "value": "ETH" } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 25 }, "hiddenSeries": false, "id": 40, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true, "dataLinks": [] }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:778", "alias": "paid (fiat)", "lines": false, "yaxis": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "paid (XCH)", "groupBy": [], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [ "/1000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "paid (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000*$exchange_rate FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ " / 1000000000000 * $exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "paid (ETH)", "groupBy": [], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [ "/1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "paid (fiat)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000*$exchange_rate FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [], "type": "mean" }, { "params": [ " / 1000000000000000000 * $exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Paid by the pool", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:722", "decimals": 5, "format": "XCH", "label": "paid", "logBase": 1, "max": null, "min": "0", "show": true }, { "$$hashKey": "object:723", "format": "short", "label": "paid (fiat)", "logBase": 1, "max": null, "min": "0", "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "decimals": 5, "mappings": [], "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", "options": "paid (fiat)" }, "properties": [ { "id": "decimals", "value": 2 } ] } ] }, "gridPos": { "h": 8, "w": 6, "x": 6, "y": 25 }, "hideTimeOverride": true, "id": 42, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "alias": "paid (XCH)", "groupBy": [], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ " / 1000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "paid (fiat)", "groupBy": [], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000*$exchange_rate FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [ " / 1000000000000*$exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "paid (ETH)", "groupBy": [], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000 FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [], "type": "last" }, { "params": [ "/ 1000000000000000000" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "paid (fiat)", "groupBy": [], "measurement": "flexpool_miner_paid", "orderByTime": "ASC", "policy": "default", "query": "SELECT mean(\"result\")/1000000000000000000*$exchange_rate FROM \"flexpool_miner_paid\" WHERE (\"miner\" =~ /^$miner$/) AND $timeFilter GROUP BY time($__interval) fill(null)", "rawQuery": false, "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "stats_totalPaid" ], "type": "field" }, { "params": [ " / 1000000000000000000*$exchange_rate" ], "type": "math" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] } ], "timeFrom": "5m", "timeShift": null, "title": "Paid by the pool", "type": "stat" }, { "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": { "align": "center", "filterable": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "decimals", "value": 5 } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "decimals", "value": 5 } ] }, { "matcher": { "id": "byName", "options": "paid (fiat)" }, "properties": [ { "id": "decimals", "value": 2 } ] }, { "matcher": { "id": "byName", "options": "duration" }, "properties": [ { "id": "unit", "value": "dtdurations" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 25 }, "id": 64, "options": { "showHeader": true, "sortBy": [] }, "pluginVersion": "7.3.7", "targets": [ { "groupBy": [], "measurement": "flexpool_miner_payments", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"value\" / 1000000000000 AS \"paid (XCH)\", \"value\" / 1000000000000 * $exchange_rate AS \"paid (fiat)\", \"duration\" FROM \"flexpool_miner_payments\" WHERE (\"miner\" =~ /^$miner$/ AND coin = 'xch') ORDER BY time DESC LIMIT 6", "rawQuery": true, "refId": "A", "resultFormat": "table", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [ " / 1000000000000" ], "type": "math" }, { "params": [ "paid" ], "type": "alias" } ], [ { "params": [ "value" ], "type": "field" }, { "params": [ " / 1000000000000*$exchange_rate" ], "type": "math" }, { "params": [ "paid (fiat)" ], "type": "alias" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "groupBy": [], "measurement": "flexpool_miner_payments", "orderByTime": "ASC", "policy": "default", "query": "SELECT \"value\" / 1000000000000000000 AS \"paid (ETH)\", \"value\" / 1000000000000000000 * $exchange_rate AS \"paid (fiat)\", \"duration\" FROM \"flexpool_miner_payments\" WHERE (\"miner\" =~ /^$miner$/ AND coin = 'eth') ORDER BY time DESC LIMIT 6", "rawQuery": true, "refId": "B", "resultFormat": "table", "select": [ [ { "params": [ "value" ], "type": "field" }, { "params": [ " / 1000000000000" ], "type": "math" }, { "params": [ "paid" ], "type": "alias" } ], [ { "params": [ "value" ], "type": "field" }, { "params": [ " / 1000000000000*$exchange_rate" ], "type": "math" }, { "params": [ "paid (fiat)" ], "type": "alias" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] } ], "timeFrom": null, "timeShift": null, "title": "Last payments", "type": "table" }, { "collapsed": false, "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 33 }, "id": 26, "panels": [], "title": "Hashrates", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "unit", "value": "bytes" } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "unit", "value": "Hs" } ] } ] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 34 }, "hiddenSeries": false, "id": 44, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true, "dataLinks": [] }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "effective (XCH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "currentEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "reported (XCH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "reportedHashrate" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "average effective (XCH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "averageEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "effective (ETH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "currentEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "reported (ETH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "reportedHashrate" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "average effective (ETH)", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "previous" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "averageEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Hashrates", "tooltip": { "shared": true, "sort": 2, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:154", "format": "bytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:155", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": null }, { "color": "green", "value": 1 } ] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "/XCH/" }, "properties": [ { "id": "unit", "value": "bytes" } ] }, { "matcher": { "id": "byRegexp", "options": "/ETH/" }, "properties": [ { "id": "unit", "value": "Hs" } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 34 }, "hideTimeOverride": true, "id": 18, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "alias": "effective (XCH)", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "currentEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "reported (XCH)", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "reportedHashrate" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "average effective (XCH)", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "averageEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "xch" } ] }, { "alias": "effective (ETH)", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "D", "resultFormat": "time_series", "select": [ [ { "params": [ "currentEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "reported (ETH)", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "E", "resultFormat": "time_series", "select": [ [ { "params": [ "reportedHashrate" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] }, { "alias": "average effective (ETH)", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "F", "resultFormat": "time_series", "select": [ [ { "params": [ "averageEffectiveHashrate" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" }, { "condition": "AND", "key": "coin", "operator": "=", "value": "eth" } ] } ], "timeFrom": "5m", "timeShift": null, "title": "Current effective hashrate", "type": "stat" }, { "collapsed": false, "datasource": "${DS_INFLUXDB}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 42 }, "id": 14, "panels": [], "title": "Shares", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 43 }, "hiddenSeries": false, "id": 6, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "nullPointMode": "null", "options": { "alertThreshold": true, "dataLinks": [] }, "percentage": false, "pluginVersion": "7.3.7", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:2759", "alias": "valid", "color": "#56A64B" }, { "$$hashKey": "object:2760", "alias": "stale", "color": "#F2CC0C" }, { "$$hashKey": "object:2761", "alias": "invalid", "color": "#E02F44" } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "alias": "valid", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "validShares" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "alias": "stale", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "B", "resultFormat": "time_series", "select": [ [ { "params": [ "staleShares" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] }, { "alias": "invalid", "groupBy": [ { "params": [ "$__interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "invalidShares" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Shares", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:2780", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:2781", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 12, "y": 43 }, "hideTimeOverride": true, "id": 8, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "alias": "valid", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "validShares" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] } ], "timeFrom": "5m", "timeShift": null, "title": "Valid shares", "type": "stat" }, { "datasource": "${DS_INFLUXDB}", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 1 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 16, "y": 43 }, "hideTimeOverride": true, "id": 10, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "alias": "stale", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "staleShares" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] } ], "timeFrom": "5m", "timeShift": null, "title": "Stale shares", "type": "stat" }, { "datasource": "${DS_INFLUXDB}", "description": "", "fieldConfig": { "defaults": { "custom": {}, "decimals": 0, "mappings": [], "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 1 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 4, "x": 20, "y": 43 }, "hideTimeOverride": true, "id": 12, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "7.3.7", "targets": [ { "alias": "invalid", "groupBy": [], "measurement": "flexpool_miner_stats", "orderByTime": "ASC", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "invalidShares" ], "type": "field" }, { "params": [], "type": "last" } ] ], "tags": [ { "key": "miner", "operator": "=~", "value": "/^$miner$/" } ] } ], "timeFrom": "5m", "timeShift": null, "title": "Invalid shares", "type": "stat" } ], "refresh": false, "schemaVersion": 26, "style": "dark", "tags": [ "flexpool", "mining" ], "templating": { "list": [ { "allValue": null, "current": {}, "datasource": "${DS_INFLUXDB}", "definition": "", "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "coin", "options": [], "query": "SHOW TAG VALUES FROM flexpool_miner_stats WITH KEY = \"coin\"", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_INFLUXDB}", "definition": "", "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "miner", "options": [], "query": "SHOW TAG VALUES FROM flexpool_miner_stats WITH KEY = \"miner\" WHERE \"coin\" = '$coin'", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_INFLUXDB}", "definition": "SHOW TAG VALUES FROM currencies WITH KEY = \"to\"", "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "currency", "options": [], "query": "SHOW TAG VALUES FROM currencies WITH KEY = \"to\"", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": {}, "datasource": "${DS_INFLUXDB}", "definition": "", "error": null, "hide": 2, "includeAll": false, "label": null, "multi": false, "name": "exchange_rate", "options": [], "query": "select value from currencies where \"to\" =~ /^$currency$/ and \"from\" =~ /^(?i)$coin$/ order by desc limit 1", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": null, "current": { "selected": true, "text": "UTC", "value": "UTC" }, "error": null, "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "timezone", "options": [ { "selected": true, "text": "UTC", "value": "UTC" }, { "selected": false, "text": "Africa/Tunis", "value": "Africa/Tunis" }, { "selected": false, "text": "America/Chicago", "value": "America/Chicago" }, { "selected": false, "text": "America/Fortaleza", "value": "America/Fortaleza" }, { "selected": false, "text": "America/Los_Angeles", "value": "America/Los_Angeles" }, { "selected": false, "text": "America/New_York", "value": "America/New_York" }, { "selected": false, "text": "America/Moncton", "value": "America/Moncton" }, { "selected": false, "text": "America/New_York", "value": "America/New_York" }, { "selected": false, "text": "America/Sao_Paulo", "value": "America/Sao_Paulo" }, { "selected": false, "text": "America/St_Johns", "value": "America/St_Johns" }, { "selected": false, "text": "America/Toronto", "value": "America/Toronto" }, { "selected": false, "text": "America/Vancouver", "value": "America/Vancouver" }, { "selected": false, "text": "Asia/Jakarta", "value": "Asia/Jakarta" }, { "selected": false, "text": "Asia/Karachi", "value": "Asia/Karachi" }, { "selected": false, "text": "Asia/Kolkata", "value": "Asia/Kolkata" }, { "selected": false, "text": "Asia/Singapore", "value": "Asia/Singapore" }, { "selected": false, "text": "Europe/Berlin", "value": "Europe/Berlin" }, { "selected": false, "text": "Europe/Kiev", "value": "Europe/Kiev" }, { "selected": false, "text": "Europe/London", "value": "Europe/London" }, { "selected": false, "text": "Europe/Moscow", "value": "Europe/Moscow" }, { "selected": false, "text": "Europe/Paris", "value": "Europe/Paris" }, { "selected": false, "text": "Europe/Zagreb", "value": "Europe/Zagreb" }, { "selected": false, "text": "Europe/Zurich", "value": "Europe/Zurich" }, { "selected": false, "text": "Pacific/Auckland", "value": "Pacific/Auckland" } ], "query": "UTC,Africa/Tunis,America/Chicago,America/Fortaleza,America/Los_Angeles,America/New_York,America/Moncton,America/New_York,America/Sao_Paulo,America/St_Johns,America/Toronto,America/Vancouver,Asia/Jakarta,Asia/Karachi,Asia/Kolkata,Asia/Singapore,Europe/Berlin,Europe/Kiev,Europe/London,Europe/Moscow,Europe/Paris,Europe/Zagreb,Europe/Zurich,Pacific/Auckland", "queryValue": "", "skipUrlSync": false, "type": "custom" } ] }, "time": { "from": "now-7d", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "utc", "title": "Flexpool miners", "uid": "Q3JPASkgz", "version": 21 }