From ed887455dbf866f3cbfc2c0b6d2aea137f419919 Mon Sep 17 00:00:00 2001 From: lanzafame Date: Wed, 28 Oct 2020 08:40:04 +1000 Subject: [PATCH] feat: add dynamic panel creation based on tags Panels are added to the dashboard if there are tag values for them in the visor_processing_stats.tag column. --- .../dashboard-visor-processing.json | 5786 ++++++++++++++--- 1 file changed, 4865 insertions(+), 921 deletions(-) diff --git a/build/grafana/provisioning/dashboards/dashboard-visor-processing.json b/build/grafana/provisioning/dashboards/dashboard-visor-processing.json index 203f6ee04..22a33e523 100644 --- a/build/grafana/provisioning/dashboards/dashboard-visor-processing.json +++ b/build/grafana/provisioning/dashboards/dashboard-visor-processing.json @@ -15,963 +15,4907 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": 2, + "id": 25, + "iteration": 1603781767079, "links": [], "panels": [ { - "datasource": "PostgreSQL", - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "decimals": 2, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 50 - }, - { - "color": "dark-yellow", - "value": 70 - }, - { - "color": "green", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, + "collapsed": true, + "datasource": null, "gridPos": { - "h": 6, - "w": 6, + "h": 1, + "w": 24, "x": 0, "y": 0 }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "pluginVersion": "7.0.3", - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_statechange' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_statechange' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n complete::decimal/todo as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "TipSet State Changes Completion", - "transparent": true, - "type": "stat" - }, - { - "datasource": "PostgreSQL", - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "decimals": 2, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 50 - }, - { - "color": "dark-yellow", - "value": 70 - }, - { - "color": "green", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 6, - "y": 0 - }, - "id": 7, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "pluginVersion": "7.0.3", - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_message' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_message' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n complete::decimal/todo as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "TipSet Message Completion", - "transparent": true, - "type": "stat" - }, - { - "datasource": "PostgreSQL", - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "decimals": 2, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 50 - }, - { - "color": "dark-yellow", - "value": 70 - }, - { - "color": "green", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 12, - "y": 0 - }, - "id": 8, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "pluginVersion": "7.0.3", - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_economics' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_economics' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n complete::decimal/todo as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "TipSet Economics Completion", - "transparent": true, - "type": "stat" - }, - { - "datasource": "PostgreSQL", - "description": "", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "decimals": 2, - "mappings": [], - "noValue": "0", - "thresholds": { - "mode": "percentage", - "steps": [ - { - "color": "dark-red", - "value": null - }, - { - "color": "dark-orange", - "value": 50 - }, - { - "color": "dark-yellow", - "value": 70 - }, - { - "color": "green", - "value": 90 - } - ] - }, - "unit": "percentunit" - }, - "overrides": [] - }, - "gridPos": { - "h": 6, - "w": 6, - "x": 18, - "y": 0 - }, - "id": 9, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - } - }, - "pluginVersion": "7.0.3", - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'messages_gas_outputs' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'messages_gas_outputs' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n complete::decimal/todo as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] + "id": 231, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 6, + "x": 0, + "y": 1 + }, + "hiddenSeries": false, + "id": 229, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": "errors", + "scopedVars": { + "errors": { + "selected": false, + "text": "tipsets_message", + "value": "tipsets_message" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "SELECT\n recorded_at as \"time\",\n value\nFROM\n visor_processing_stats\nWHERE\n $__timeFilter(recorded_at)\nand tag = $errors\nand measure = 'errors_count'\n", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 6, + "x": 6, + "y": 1 + }, + "hiddenSeries": false, + "id": 441, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 229, + "scopedVars": { + "errors": { + "selected": false, + "text": "actor_init_2", + "value": "actor_init_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "SELECT\n recorded_at as \"time\",\n value\nFROM\n visor_processing_stats\nWHERE\n $__timeFilter(recorded_at)\nand tag = $errors\nand measure = 'errors_count'\n", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 6, + "x": 12, + "y": 1 + }, + "hiddenSeries": false, + "id": 442, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 229, + "scopedVars": { + "errors": { + "selected": false, + "text": "tipsets_statechange", + "value": "tipsets_statechange" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "SELECT\n recorded_at as \"time\",\n value\nFROM\n visor_processing_stats\nWHERE\n $__timeFilter(recorded_at)\nand tag = $errors\nand measure = 'errors_count'\n", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 6, + "x": 18, + "y": 1 + }, + "hiddenSeries": false, + "id": 443, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 229, + "scopedVars": { + "errors": { + "selected": false, + "text": "tipsets_economics", + "value": "tipsets_economics" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "SELECT\n recorded_at as \"time\",\n value\nFROM\n visor_processing_stats\nWHERE\n $__timeFilter(recorded_at)\nand tag = $errors\nand measure = 'errors_count'\n", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 6, + "x": 0, + "y": 9 + }, + "hiddenSeries": false, + "id": 444, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 229, + "scopedVars": { + "errors": { + "selected": false, + "text": "messages_gas_outputs", + "value": "messages_gas_outputs" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "SELECT\n recorded_at as \"time\",\n value\nFROM\n visor_processing_stats\nWHERE\n $__timeFilter(recorded_at)\nand tag = $errors\nand measure = 'errors_count'\n", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$errors", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } } ], - "timeFrom": null, - "timeShift": null, - "title": "Message Gas Output Completion", - "transparent": true, - "type": "stat" + "title": "Processing Error Counts", + "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "PostgreSQL", - "description": "The number of tipset state changes left to process", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, + "collapsed": true, + "datasource": null, "gridPos": { - "h": 10, + "h": 1, "w": 24, "x": 0, - "y": 6 - }, - "hiddenSeries": false, - "id": 2, - "legend": { - "alignAsTable": false, - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "7.0.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_statechange' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_statechange' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n todo-complete as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "thresholds": [ - { - "colorMode": "critical", - "fill": true, - "line": true, - "op": "gt", - "value": null, - "yaxis": "left" - } - ], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "TipSet State Changes to Process", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] + "y": 1 }, - "yaxes": [ - { - "format": "none", - "label": "TipSets", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": false - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "PostgreSQL", - "description": "The number of tipset messages left to process", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + "id": 12, + "panels": [ + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 2 + }, + "id": 6, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeat": "tag", + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_account_2", + "value": "actor_account_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 2 + }, + "id": 408, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_init_2", + "value": "actor_init_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 2 + }, + "id": 409, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_multisig_2", + "value": "actor_multisig_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 2 + }, + "id": 410, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_paymentchannel_2", + "value": "actor_paymentchannel_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 8 + }, + "id": 411, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_reward_2", + "value": "actor_reward_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 8 + }, + "id": 412, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storagemarket_2", + "value": "actor_storagemarket_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 8 + }, + "id": 413, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storageminer_2", + "value": "actor_storageminer_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 8 + }, + "id": 414, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storagepower_2", + "value": "actor_storagepower_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 14 + }, + "id": 415, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "messages_gas_outputs", + "value": "messages_gas_outputs" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 14 + }, + "id": 416, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_economics", + "value": "tipsets_economics" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 14 + }, + "id": 417, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_message", + "value": "tipsets_message" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "Disclaimer: if the time window is too big, the value reported as complete will be **incorrect**.", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 2, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "dark-red", + "value": null + }, + { + "color": "dark-orange", + "value": 50 + }, + { + "color": "dark-yellow", + "value": 70 + }, + { + "color": "green", + "value": 90 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 14 + }, + "id": 418, + "options": { + "colorMode": "background", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 6, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_statechange", + "value": "tipsets_statechange" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n tag,\n value,\n ROW_NUMBER() OVER(PARTITION BY measure\n ORDER BY recorded_at DESC) AS rk\n FROM visor_processing_stats p)\nselect time,\n max(value) filter (where measure = 'completed_count')::numeric /\n max(value) filter (where measure = 'count') as \"value\"\nfrom summary\nwhere $__timeFilter(time)\n and tag = $tag\ngroup by time\norder by time;", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transparent": true, + "type": "stat" + } + ], + "title": "Percent Processed", + "type": "row" + }, + { + "collapsed": true, + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 2 + }, + "id": 113, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 0, + "y": 3 + }, + "hiddenSeries": false, + "id": 2, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeat": "tag", + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_account_2", + "value": "actor_account_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 6, + "y": 3 + }, + "hiddenSeries": false, + "id": 419, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_init_2", + "value": "actor_init_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 12, + "y": 3 + }, + "hiddenSeries": false, + "id": 420, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_multisig_2", + "value": "actor_multisig_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 18, + "y": 3 + }, + "hiddenSeries": false, + "id": 421, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_paymentchannel_2", + "value": "actor_paymentchannel_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 0, + "y": 13 + }, + "hiddenSeries": false, + "id": 422, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_reward_2", + "value": "actor_reward_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 6, + "y": 13 + }, + "hiddenSeries": false, + "id": 423, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storagemarket_2", + "value": "actor_storagemarket_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 12, + "y": 13 + }, + "hiddenSeries": false, + "id": 424, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storageminer_2", + "value": "actor_storageminer_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 18, + "y": 13 + }, + "hiddenSeries": false, + "id": 425, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storagepower_2", + "value": "actor_storagepower_2" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 0, + "y": 23 + }, + "hiddenSeries": false, + "id": 426, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "messages_gas_outputs", + "value": "messages_gas_outputs" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 6, + "y": 23 + }, + "hiddenSeries": false, + "id": 427, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_economics", + "value": "tipsets_economics" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 12, + "y": 23 + }, + "hiddenSeries": false, + "id": 428, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_message", + "value": "tipsets_message" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null } }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 16 - }, - "hiddenSeries": false, - "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "7.0.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_message' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_message' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n todo-complete as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "TipSet Messages to Process", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "PostgreSQL", - "description": "The number of tipset economics left to process", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "PostgreSQL", + "decimals": 0, + "description": "The number of tipsets left to process", + "fieldConfig": { + "defaults": { + "custom": {}, + "links": [] + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 10, + "w": 6, + "x": 18, + "y": 23 + }, + "hiddenSeries": false, + "id": 429, + "legend": { + "alignAsTable": false, + "avg": false, + "current": true, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "connected", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.2.2", + "pointradius": 2, + "points": false, + "renderer": "flot", + "repeatIteration": 1603781767079, + "repeatPanelId": 2, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_statechange", + "value": "tipsets_statechange" + } + }, + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "none", + "rawQuery": true, + "rawSql": "WITH summary AS (\n SELECT recorded_at as \"time\",\n measure,\n value\n FROM visor_processing_stats p\n where tag = $tag\n and $__timeFilter(recorded_at)\n)\nselect time,\n max(value) filter (where measure = 'count') -\n max(value) filter (where measure = 'completed_count') as \"value\"\nfrom summary\ngroup by time\norder by time;", + "refId": "B", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "timeColumn": "time", + "where": [ + { + "name": "$__timeFilter", + "params": [], + "type": "macro" + } + ] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": null, + "yaxis": "left" + } + ], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "$tag", + "tooltip": { + "shared": false, + "sort": 2, + "value_type": "individual" + }, + "transparent": true, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "decimals": 0, + "format": "none", + "label": "Tipsets", + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null } - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 26 - }, - "hiddenSeries": false, - "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "7.0.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_economics' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'tipsets_economics' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n todo-complete as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "TipSet Economics to Process", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Tipsets To Process", + "type": "row" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "PostgreSQL", - "description": "The number of message gas outputs left to process", - "fieldConfig": { - "defaults": { - "custom": { - "align": null - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - } - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, + "collapsed": true, + "datasource": null, "gridPos": { - "h": 10, + "h": 1, "w": 24, "x": 0, - "y": 36 - }, - "hiddenSeries": false, - "id": 5, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pluginVersion": "7.0.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "format": "time_series", - "group": [], - "metricColumn": "measure", - "rawQuery": true, - "rawSql": "with tipset_total as (select\n value as todo,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'messages_gas_outputs' and measure = 'count'\n order by recorded_at desc\n),\ntipset_complete as (\n select\n value as complete,\n recorded_at,\n measure\n from visor_processing_stats\n where tag = 'messages_gas_outputs' and measure = 'completed_count'\n order by recorded_at desc\n)\nselect\n distinct on (tipset_complete.recorded_at)\n tipset_complete.recorded_at as \"time\",\n todo-complete as value\nfrom tipset_complete, tipset_total\nWHERE $__timeFilter(tipset_complete.recorded_at)\norder by tipset_complete.recorded_at", - "refId": "A", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "column" - } - ] - ], - "table": "visor_processing_stats", - "timeColumn": "recorded_at", - "timeColumnType": "timestamptz", - "where": [ - { - "name": "", - "params": [ - "value", - "=", - "'tipsets_economics_completed_height_max'" - ], - "type": "expression" - } - ] - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Messages Gas Outputs to Process", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" + "y": 3 }, - "transparent": true, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true + "id": 49, + "panels": [ + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 34 + }, + "id": 51, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeat": "tag", + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_account_2", + "value": "actor_account_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 34 + }, + "id": 430, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_init_2", + "value": "actor_init_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 34 + }, + "id": 431, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_multisig_2", + "value": "actor_multisig_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 34 + }, + "id": 432, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_paymentchannel_2", + "value": "actor_paymentchannel_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 40 + }, + "id": 433, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_reward_2", + "value": "actor_reward_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 40 + }, + "id": 434, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storagemarket_2", + "value": "actor_storagemarket_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 40 + }, + "id": 435, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storageminer_2", + "value": "actor_storageminer_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 40 + }, + "id": 436, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "actor_storagepower_2", + "value": "actor_storagepower_2" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 0, + "y": 46 + }, + "id": 437, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "messages_gas_outputs", + "value": "messages_gas_outputs" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 6, + "y": 46 + }, + "id": 438, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_economics", + "value": "tipsets_economics" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 12, + "y": 46 + }, + "id": 439, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_message", + "value": "tipsets_message" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" + }, + { + "datasource": "PostgreSQL", + "description": "", + "fieldConfig": { + "defaults": { + "custom": { + "align": null + }, + "decimals": 0, + "mappings": [], + "noValue": "0", + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 6, + "x": 18, + "y": 46 + }, + "id": 440, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "7.2.2", + "repeatIteration": 1603781767079, + "repeatPanelId": 51, + "scopedVars": { + "tag": { + "selected": false, + "text": "tipsets_statechange", + "value": "tipsets_statechange" + } + }, + "targets": [ + { + "format": "time_series", + "group": [], + "metricColumn": "measure", + "rawQuery": true, + "rawSql": "select recorded_at as \"time\",\n value\nfrom visor_processing_stats\nwhere tag = $tag\n and measure = 'incomplete_height_max'\n and $__timeFilter(recorded_at)\norder by recorded_at", + "refId": "A", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "column" + } + ] + ], + "table": "visor_processing_stats", + "timeColumn": "recorded_at", + "timeColumnType": "timestamptz", + "where": [ + { + "name": "", + "params": [ + "value", + "=", + "'tipsets_economics_completed_height_max'" + ], + "type": "expression" + } + ] + } + ], + "timeFrom": null, + "timeShift": null, + "title": "$tag", + "transformations": [], + "transparent": true, + "type": "stat" } ], - "yaxis": { - "align": false, - "alignLevel": null - } + "title": "Incomplete Height Max", + "type": "row" } ], - "refresh": "1m", - "schemaVersion": 25, + "refresh": "30s", + "schemaVersion": 26, "style": "dark", "tags": [], "templating": { - "list": [] + "list": [ + { + "allValue": null, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, + "datasource": "PostgreSQL", + "definition": "select tag from visor_processing_stats;", + "hide": 0, + "includeAll": true, + "label": "Actor", + "multi": false, + "name": "actor", + "options": [], + "query": "select tag from visor_processing_stats;", + "refresh": 1, + "regex": "/actor_(.*)/", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "selected": true, + "text": "All", + "value": "$__all" + }, + "datasource": "PostgreSQL", + "definition": "select distinct tag from visor_processing_stats where measure = 'errors_count';", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "errors", + "options": [], + "query": "select distinct tag from visor_processing_stats where measure = 'errors_count';", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, + "datasource": "PostgreSQL", + "definition": "select distinct tag from visor_processing_stats", + "hide": 0, + "includeAll": true, + "label": "Tag", + "multi": false, + "name": "tag", + "options": [], + "query": "select distinct tag from visor_processing_stats", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] }, "time": { - "from": "now-1h", - "to": "now" + "from": "now-30m", + "to": "now-1m" }, "timepicker": { + "nowDelay": "1m", "refresh_intervals": [ "10s", "30s", @@ -987,5 +4931,5 @@ "timezone": "", "title": "Sentinel Analysis Processing", "uid": "sentinel_analysis_processing_v1", - "version": 2 + "version": 3 }