UNPKG

@hashgraph/hedera-local

Version:

Developer tooling for running Local Hedera Network (Consensus + Mirror Nodes).

1,519 lines (1,518 loc) 38.9 kB
{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 36, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "1": { "color": "blue", "index": 0, "text": "STARTING" }, "2": { "color": "green", "index": 1, "text": "ACTIVE" }, "3": { "color": "orange", "index": 2, "text": "DISCONNECTED" }, "4": { "color": "yellow", "index": 3, "text": "BEHIND" }, "5": { "color": "purple", "index": 4, "text": "MAINTENANCE" } }, "type": "value" }, { "options": { "match": "null+nan", "result": { "color": "yellow", "index": 5, "text": "UNKNOWN" } }, "type": "special" }, { "options": { "match": "empty", "result": { "color": "dark-yellow", "index": 6, "text": "EMPTY" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 32, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "value_and_name" }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "exemplar": false, "expr": "platform_PlatformStatus{node=~\".*\", environment=\"$Network\"}", "instant": false, "interval": "", "legendFormat": "node{{node}}", "range": true, "refId": "A" } ], "title": "Node Status", "transformations": [ { "id": "renameByRegex", "options": { "regex": "node(.*)", "renamePattern": "Node $1" } } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "issCount", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 }, "id": 37, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "internal_issCount{environment=\"$Network\"}", "legendFormat": "node{{node_id}}", "range": true, "refId": "A" } ], "title": "issCount", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 8 }, "id": 26, "panels": [], "targets": [ { "datasource": { "type": "datasource", "uid": "grafana" }, "refId": "A" } ], "title": "Dashboard", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "The average secC2C over this time interval", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 0, "y": 9 }, "id": 4, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_secC2C{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "SecC2C", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Transactions handled per second", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 0, "mappings": [], "max": 20000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 200 }, { "color": "#EAB839", "value": 1000 }, { "color": "dark-green", "value": 10000 }, { "color": "dark-green", "value": 15000 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 3, "y": 9 }, "id": 6, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_trans_per_sec{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "TPS", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Average number of transactions per event", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 6, "y": 9 }, "id": 8, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_trans_per_event{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Transactions Per Event", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "continuous-RdYlGr" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 9, "y": 9 }, "id": 39, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(app_consGasPercentUsed{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "GAS", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Average Rounds per Second", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 12, "y": 9 }, "id": 10, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_rounds_per_sec{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "RPS", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Average Events Per Second", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 15, "y": 9 }, "id": 12, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_events_per_sec{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "EPS", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "The total JVM heap used", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 18, "y": 9 }, "id": 16, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_memTot{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Total Memory Used", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Average CPU utlization", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 21, "y": 9 }, "id": 20, "options": { "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "pluginVersion": "9.3.2-67a213dc85", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(platform_cpuLoadSys{environment=\"$Network\"})", "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "CPU", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 0, "y": 13 }, "id": 36, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "platform_memTot{metrics_node_id=~\".*\", type=\"mean\", environment=\"$Network\"}", "legendFormat": "node{{metrics_node_id}}", "range": true, "refId": "A" } ], "title": "Memory Total", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Average EVM gas used per second of consensus time", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 11, "w": 12, "x": 12, "y": 13 }, "id": 38, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "app_gasPerConsSec{environment=\"$Network\", type=\"mean\", node=~\".*\"}", "legendFormat": "node{{node}}", "range": true, "refId": "A" } ], "title": "GAS/ConsensusSec", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 24 }, "id": 24, "panels": [], "targets": [ { "datasource": { "type": "datasource", "uid": "grafana" }, "refId": "A" } ], "title": "Smart Contract Database", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "The number of smart contract key/value pairs (or leaves in the merkle tree)", "fieldConfig": { "defaults": { "color": { "fixedColor": "light-blue", "mode": "fixed" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 25 }, "id": 14, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "8.3.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "virtual_map_vMapSize_smartContractIterableKvStore{environment=\"$Network\", node=~\".*\"}", "legendFormat": "node{{node}}", "range": true, "refId": "A" } ], "title": "Smart Contract Data", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "Number of files used by the JasperDB, average over 10s", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "bars", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 25 }, "id": 30, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(jasper_db_internalHashFileCount_smartContractIterableKvStore{environment=\"$Network\"})", "legendFormat": "{{label_name}}", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "avg(jasper_db_leafHKVFileCount_smartContractIterableKvStore{environment=\"$Network\"})", "hide": false, "legendFormat": "__auto", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "smartcontractitera", "hide": false, "legendFormat": "__auto", "range": true, "refId": "C" } ], "title": "Database File Counts", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 33 }, "id": 22, "panels": [], "targets": [ { "datasource": { "type": "datasource", "uid": "grafana" }, "refId": "A" } ], "title": "Hedera File Service Database", "type": "row" }, { "collapsed": false, "datasource": { "type": "datasource", "uid": "grafana" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 34 }, "id": 28, "panels": [], "targets": [ { "datasource": { "type": "datasource", "uid": "grafana" }, "refId": "A" } ], "title": "Gossip & Consensus", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 35 }, "id": 2, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "platform_secC2C{environment=\"$Network\", type=\"mean\", node=~\".*\"}", "legendFormat": "node{{node}}", "range": true, "refId": "A" } ], "title": "SecC2C", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "description": "transH_per_sec", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 35 }, "id": 18, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "editorMode": "code", "expr": "internal_transH_per_sec{environment=\"$Network\", type=\"mean\", node=~\".*\"}", "legendFormat": "node{{node}}", "range": true, "refId": "A" } ], "title": "TPS per Node", "type": "timeseries" } ], "refresh": false, "schemaVersion": 37, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "grafanacloud-swirldslabspreproduction-prom", "value": "grafanacloud-swirldslabspreproduction-prom" }, "hide": 0, "includeAll": false, "multi": false, "name": "Datasource", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "/^.*-prom/", "skipUrlSync": false, "type": "datasource" }, { "current": { "selected": false, "text": "dev", "value": "dev" }, "datasource": { "type": "prometheus", "uid": "${Datasource}" }, "definition": "label_values(environment)", "hide": 0, "includeAll": false, "multi": false, "name": "Network", "options": [], "query": { "query": "label_values(environment)", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Network Details (Prom)", "uid": "network-details-prom", "version": 4, "weekStart": "" }