2021-01-31 09:40:07 +01:00
{
2021-02-02 17:56:15 +01:00
"__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" : ""
}
] ,
2021-01-31 09:40:07 +01:00
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : "-- Grafana --" ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
}
]
} ,
2021-03-29 08:55:29 +02:00
"description" : "Workers statistics" ,
2021-01-31 09:40:07 +01:00
"editable" : true ,
"gnetId" : null ,
"graphTooltip" : 0 ,
2021-02-02 17:56:15 +01:00
"id" : null ,
2021-08-18 10:52:45 +02:00
"iteration" : 1629269888685 ,
2021-01-31 09:40:07 +01:00
"links" : [ ] ,
"panels" : [
{
"collapsed" : false ,
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 26 ,
"panels" : [ ] ,
"title" : "Hashrates" ,
"type" : "row"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
2021-02-02 17:56:15 +01:00
"custom" : { } ,
"links" : [ ]
2021-01-31 09:40:07 +01:00
} ,
2021-08-18 10:52:45 +02:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/XCH/"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "bytes"
}
]
} ,
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/ETH/"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "Hs"
}
]
}
]
2021-01-31 09:40:07 +01:00
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 1
} ,
"hiddenSeries" : false ,
"id" : 2 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"nullPointMode" : "null" ,
"options" : {
2021-02-02 17:56:15 +01:00
"alertThreshold" : true
2021-01-31 09:40:07 +01:00
} ,
"percentage" : false ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2021-08-18 10:52:45 +02:00
"alias" : "current effective (XCH)" ,
2021-01-31 09:40:07 +01:00
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
2021-08-18 10:52:45 +02:00
"null"
] ,
"type" : "fill"
}
] ,
"measurement" : "flexpool_miner_workers" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
"currentEffectiveHashrate"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "xch"
}
]
} ,
{
"alias" : "average effective (XCH)" ,
"groupBy" : [
{
"params" : [
"$__interval"
2021-01-31 09:40:07 +01:00
] ,
2021-08-18 10:52:45 +02:00
"type" : "time"
2021-01-31 09:40:07 +01:00
} ,
{
"params" : [
"null"
] ,
"type" : "fill"
}
] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
2021-08-18 10:52:45 +02:00
"policy" : "default" ,
"refId" : "B" ,
2021-01-31 09:40:07 +01:00
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"averageEffectiveHashrate"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
2021-08-18 10:52:45 +02:00
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
2021-01-31 09:40:07 +01:00
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "xch"
2021-01-31 09:40:07 +01:00
}
]
} ,
{
2021-08-18 10:52:45 +02:00
"alias" : "current effective (ETH)" ,
2021-01-31 09:40:07 +01:00
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
2021-08-18 10:52:45 +02:00
"null"
] ,
"type" : "fill"
}
] ,
"measurement" : "flexpool_miner_workers" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "C" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
"currentEffectiveHashrate"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "eth"
}
]
} ,
{
"alias" : "average effective (ETH)" ,
"groupBy" : [
{
"params" : [
"$__interval"
2021-01-31 09:40:07 +01:00
] ,
2021-08-18 10:52:45 +02:00
"type" : "time"
2021-01-31 09:40:07 +01:00
} ,
{
"params" : [
"null"
] ,
"type" : "fill"
}
] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
2021-08-18 10:52:45 +02:00
"refId" : "D" ,
2021-01-31 09:40:07 +01:00
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"averageEffectiveHashrate"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
2021-08-18 10:52:45 +02:00
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
2021-01-31 09:40:07 +01:00
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "eth"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
"title" : "Current hashrates" ,
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:7053" ,
2021-01-31 09:40:07 +01:00
"format" : "Hs" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : "0" ,
"show" : true
} ,
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:7054" ,
2021-01-31 09:40:07 +01:00
"format" : "Hs" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "red" ,
"value" : null
} ,
{
2021-03-20 08:49:33 +01:00
"color" : "green" ,
2021-01-31 09:40:07 +01:00
"value" : 1
}
]
} ,
2021-08-18 10:52:45 +02:00
"unit" : "short"
2021-01-31 09:40:07 +01:00
} ,
2021-08-18 10:52:45 +02:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/XCH/"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "bytes"
}
]
} ,
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/ETH/"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "Hs"
}
]
}
]
2021-01-31 09:40:07 +01:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 6 ,
"x" : 12 ,
"y" : 1
} ,
"id" : 18 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "none" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
2021-02-02 17:56:15 +01:00
"fields" : "" ,
2021-01-31 09:40:07 +01:00
"values" : false
2021-02-02 17:56:15 +01:00
} ,
"textMode" : "auto"
2021-01-31 09:40:07 +01:00
} ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"targets" : [
{
2021-08-18 10:52:45 +02:00
"alias" : "hashrate (XCH)" ,
2021-04-09 08:37:11 +02:00
"groupBy" : [ ] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"currentEffectiveHashrate"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "last"
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "xch"
}
]
} ,
{
"alias" : "hashrate (ETH)" ,
"groupBy" : [ ] ,
"measurement" : "flexpool_miner_workers" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "B" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
"currentEffectiveHashrate"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-04-09 08:37:11 +02:00
"type" : "last"
2021-01-31 09:40:07 +01:00
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "eth"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Current effective hashrate" ,
"type" : "stat"
} ,
{
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "red" ,
"value" : null
} ,
{
2021-03-20 08:49:33 +01:00
"color" : "green" ,
2021-01-31 09:40:07 +01:00
"value" : 1
}
]
} ,
2021-08-18 10:52:45 +02:00
"unit" : "short"
2021-01-31 09:40:07 +01:00
} ,
2021-08-18 10:52:45 +02:00
"overrides" : [
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/XCH/"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "bytes"
}
]
} ,
{
"matcher" : {
"id" : "byRegexp" ,
"options" : "/ETH/"
} ,
"properties" : [
{
"id" : "unit" ,
"value" : "Hs"
}
]
}
]
2021-01-31 09:40:07 +01:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 6 ,
"x" : 18 ,
"y" : 1
} ,
"id" : 20 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "none" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
2021-02-02 17:56:15 +01:00
"fields" : "" ,
2021-01-31 09:40:07 +01:00
"values" : false
2021-02-02 17:56:15 +01:00
} ,
"textMode" : "auto"
2021-01-31 09:40:07 +01:00
} ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"targets" : [
{
2021-08-18 10:52:45 +02:00
"alias" : "hashrate (XCH)" ,
2021-04-09 08:37:11 +02:00
"groupBy" : [ ] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
2021-08-18 10:52:45 +02:00
"query" : "SELECT last(\"reported_hashrate\") FROM \"flexpool_miner_workers\" WHERE (\"miner\" =~ /^$miner$/ AND \"name\" =~ /^$worker$/) AND $timeFilter" ,
"rawQuery" : false ,
2021-01-31 09:40:07 +01:00
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"reportedHashrate"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "last"
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "xch"
}
]
} ,
{
"alias" : "hashrate (ETH)" ,
"groupBy" : [ ] ,
"measurement" : "flexpool_miner_workers" ,
"orderByTime" : "ASC" ,
"policy" : "default" ,
"query" : "SELECT last(\"reported_hashrate\") FROM \"flexpool_miner_workers\" WHERE (\"miner\" =~ /^$miner$/ AND \"name\" =~ /^$worker$/) AND $timeFilter" ,
"rawQuery" : false ,
"refId" : "B" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
"reportedHashrate"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-04-09 08:37:11 +02:00
"type" : "last"
2021-01-31 09:40:07 +01:00
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=" ,
"value" : "eth"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Current reported hashrate" ,
"type" : "stat"
} ,
{
"collapsed" : false ,
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 9
} ,
"id" : 14 ,
"panels" : [ ] ,
"title" : "Shares" ,
"type" : "row"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"description" : "" ,
"fieldConfig" : {
"defaults" : {
2021-02-02 17:56:15 +01:00
"custom" : { } ,
"links" : [ ]
2021-01-31 09:40:07 +01:00
} ,
"overrides" : [ ]
} ,
"fill" : 1 ,
"fillGradient" : 0 ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 10
} ,
"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" : {
2021-02-02 17:56:15 +01:00
"alertThreshold" : true
2021-01-31 09:40:07 +01:00
} ,
"percentage" : false ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"pointradius" : 2 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:8033" ,
"alias" : "/valid/" ,
2021-01-31 09:40:07 +01:00
"color" : "#56A64B"
} ,
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:8034" ,
"alias" : "/stale/" ,
2021-01-31 09:40:07 +01:00
"color" : "#F2CC0C"
} ,
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:8035" ,
"alias" : "/invalid/" ,
2021-01-31 09:40:07 +01:00
"color" : "#E02F44"
}
] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
"alias" : "valid" ,
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
"null"
] ,
"type" : "fill"
}
] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"validShares"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
2021-01-31 09:40:07 +01:00
}
]
} ,
{
"alias" : "stale" ,
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
"null"
] ,
"type" : "fill"
}
] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "B" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"staleShares"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
2021-01-31 09:40:07 +01:00
}
]
} ,
{
"alias" : "invalid" ,
"groupBy" : [
{
"params" : [
"$__interval"
] ,
"type" : "time"
} ,
{
"params" : [
"null"
] ,
"type" : "fill"
}
] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "C" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
"invalid_shares"
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
"type" : "mean"
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeRegions" : [ ] ,
"timeShift" : null ,
2021-08-18 10:52:45 +02:00
"title" : "Shares" ,
2021-01-31 09:40:07 +01:00
"tooltip" : {
"shared" : true ,
"sort" : 0 ,
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:8054" ,
2021-01-31 09:40:07 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
2021-08-18 10:52:45 +02:00
"$$hashKey" : "object:8055" ,
2021-01-31 09:40:07 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"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" : 10
} ,
"id" : 8 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "none" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
2021-02-02 17:56:15 +01:00
"fields" : "" ,
2021-01-31 09:40:07 +01:00
"values" : false
2021-02-02 17:56:15 +01:00
} ,
"textMode" : "auto"
2021-01-31 09:40:07 +01:00
} ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"targets" : [
{
"alias" : "valid" ,
2021-04-09 08:37:11 +02:00
"groupBy" : [ ] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"validShares"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-04-09 08:37:11 +02:00
"type" : "last"
2021-01-31 09:40:07 +01:00
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Valid shares" ,
"type" : "stat"
} ,
{
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"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" : 10
} ,
"id" : 10 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "none" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
2021-02-02 17:56:15 +01:00
"fields" : "" ,
2021-01-31 09:40:07 +01:00
"values" : false
2021-02-02 17:56:15 +01:00
} ,
"textMode" : "auto"
2021-01-31 09:40:07 +01:00
} ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"targets" : [
{
"alias" : "stale" ,
2021-04-09 08:37:11 +02:00
"groupBy" : [ ] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"staleShares"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-04-09 08:37:11 +02:00
"type" : "last"
2021-01-31 09:40:07 +01:00
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Stale shares" ,
"type" : "stat"
} ,
{
2021-02-02 17:56:15 +01:00
"datasource" : "${DS_INFLUXDB}" ,
2021-01-31 09:40:07 +01:00
"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" : 10
} ,
"id" : 12 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "none" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"reduceOptions" : {
"calcs" : [
"mean"
] ,
2021-02-02 17:56:15 +01:00
"fields" : "" ,
2021-01-31 09:40:07 +01:00
"values" : false
2021-02-02 17:56:15 +01:00
} ,
"textMode" : "auto"
2021-01-31 09:40:07 +01:00
} ,
2021-02-02 17:56:15 +01:00
"pluginVersion" : "7.3.7" ,
2021-01-31 09:40:07 +01:00
"targets" : [
{
"alias" : "invalid" ,
2021-04-09 08:37:11 +02:00
"groupBy" : [ ] ,
2021-03-28 18:45:05 +02:00
"measurement" : "flexpool_miner_workers" ,
2021-01-31 09:40:07 +01:00
"orderByTime" : "ASC" ,
"policy" : "default" ,
"refId" : "A" ,
"resultFormat" : "time_series" ,
"select" : [
[
{
"params" : [
2021-08-18 10:52:45 +02:00
"invalidShares"
2021-01-31 09:40:07 +01:00
] ,
"type" : "field"
} ,
{
"params" : [ ] ,
2021-04-09 08:37:11 +02:00
"type" : "last"
2021-01-31 09:40:07 +01:00
}
]
] ,
"tags" : [
{
"key" : "miner" ,
"operator" : "=~" ,
"value" : "/^$miner$/"
} ,
{
"condition" : "AND" ,
"key" : "name" ,
"operator" : "=~" ,
"value" : "/^$worker$/"
2021-08-18 10:52:45 +02:00
} ,
{
"condition" : "AND" ,
"key" : "coin" ,
"operator" : "=~" ,
"value" : "/^$coin$/"
2021-01-31 09:40:07 +01:00
}
]
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Invalid shares" ,
"type" : "stat"
}
] ,
2021-02-02 17:56:15 +01:00
"schemaVersion" : 26 ,
2021-01-31 09:40:07 +01:00
"style" : "dark" ,
"tags" : [
"flexpool" ,
"mining"
] ,
"templating" : {
"list" : [
{
"allValue" : null ,
2021-02-02 17:56:15 +01:00
"current" : { } ,
"datasource" : "${DS_INFLUXDB}" ,
2021-08-18 10:52:45 +02:00
"error" : null ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "coin" ,
"options" : [ ] ,
"query" : "SHOW TAG VALUES FROM flexpool_miner_workers WITH KEY = \"coin\"" ,
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 5 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : { } ,
"datasource" : "${DS_INFLUXDB}" ,
2021-02-02 17:56:15 +01:00
"error" : null ,
2021-01-31 09:40:07 +01:00
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "miner" ,
"options" : [ ] ,
2021-08-18 10:52:45 +02:00
"query" : "SHOW TAG VALUES FROM flexpool_miner_workers WITH KEY = \"miner\" WHERE coin =~ /^$coin$/" ,
2021-01-31 09:40:07 +01:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
2021-02-02 17:56:15 +01:00
"current" : { } ,
"datasource" : "${DS_INFLUXDB}" ,
2021-03-29 08:55:29 +02:00
"definition" : "" ,
2021-02-02 17:56:15 +01:00
"error" : null ,
2021-01-31 09:40:07 +01:00
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "worker" ,
"options" : [ ] ,
2021-03-28 18:36:04 +02:00
"query" : "SHOW TAG VALUES FROM flexpool_miner_workers WITH KEY = \"name\" WHERE miner =~ /^$miner$/" ,
2021-01-31 09:40:07 +01:00
"refresh" : 1 ,
"regex" : "" ,
"skipUrlSync" : false ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
2021-08-18 10:52:45 +02:00
"from" : "now-2d" ,
2021-01-31 09:40:07 +01:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
]
} ,
2021-03-29 08:55:29 +02:00
"timezone" : "utc" ,
2021-01-31 09:40:07 +01:00
"title" : "Flexpool workers" ,
"uid" : "slcUBSzgz" ,
2021-08-18 10:52:45 +02:00
"version" : 3
2021-03-28 18:36:04 +02:00
}