diff --git a/grafana/provisioning/localnet/dashboards/cosmos-dashboard.json b/grafana/provisioning/localnet/dashboards/cosmos-dashboard.json index 9c27e49..fb96cab 100644 --- a/grafana/provisioning/localnet/dashboards/cosmos-dashboard.json +++ b/grafana/provisioning/localnet/dashboards/cosmos-dashboard.json @@ -26,7 +26,6 @@ "fiscalYearStartMonth": 0, "gnetId": 11036, "graphTooltip": 0, - "id": 7, "links": [], "liveNow": false, "panels": [ @@ -78,7 +77,7 @@ "content": "", "mode": "html" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -136,13 +135,15 @@ "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, "textMode": "auto" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -205,13 +206,15 @@ "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, "textMode": "auto" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -282,13 +285,15 @@ "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { - "calcs": ["mean"], + "calcs": [ + "mean" + ], "fields": "", "values": false }, "textMode": "auto" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -350,13 +355,15 @@ "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, "textMode": "auto" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -395,7 +402,7 @@ "fillGradient": 0, "gridPos": { "h": 9, - "w": 12, + "w": 9, "x": 0, "y": 7 }, @@ -422,7 +429,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "pointradius": 5, "points": false, "renderer": "flot", @@ -481,6 +488,7 @@ }, "yaxes": [ { + "$$hashKey": "object:71", "decimals": 0, "format": "locale", "label": "", @@ -489,6 +497,7 @@ "show": true }, { + "$$hashKey": "object:72", "format": "none", "logBase": 1, "show": false @@ -519,8 +528,8 @@ "fillGradient": 0, "gridPos": { "h": 9, - "w": 12, - "x": 12, + "w": 7, + "x": 9, "y": 7 }, "hiddenSeries": false, @@ -546,7 +555,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "pointradius": 5, "points": false, "renderer": "flot", @@ -622,6 +631,141 @@ "align": false } }, + { + "datasource": { + "type": "prometheus", + "uid": "$DS" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 30, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "locale" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Height for last 3 hours" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#447ebc", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Transactions for last 3 hours" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 8, + "x": 16, + "y": 7 + }, + "hideTimeOverride": false, + "id": 67, + "links": [], + "options": { + "legend": { + "calcs": [ + "last" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true, + "width": 350 + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.0-107644pre", + "targets": [ + { + "datasource": { + "uid": "$DS" + }, + "editorMode": "code", + "expr": "tendermint_consensus_validator_missed_blocks{}", + "format": "time_series", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{validator_address}}", + "refId": "A" + } + ], + "title": "Missed blocks by validator", + "type": "timeseries" + }, { "aliasColors": { "Height for last 3 hours": "#447ebc", @@ -669,7 +813,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "pointradius": 5, "points": false, "renderer": "flot", @@ -772,7 +916,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "pointradius": 5, "points": false, "renderer": "flot", @@ -827,6 +971,280 @@ "align": false } }, + { + "datasource": { + "type": "prometheus", + "uid": "$DS" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "Gas", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Height for last 3 hours" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#447ebc", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Transactions for last 3 hours" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 21 + }, + "hideTimeOverride": false, + "id": 65, + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "last" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.0-107105pre", + "targets": [ + { + "datasource": { + "uid": "$DS" + }, + "editorMode": "code", + "expr": "feemarket_block_gas{chain_id=\"$chain_id\", instance=\"$instance\"}", + "format": "time_series", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Block Gas", + "refId": "A" + } + ], + "title": "Block Gas", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "$DS" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "aevmos", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "links": [], + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Height for last 3 hours" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#447ebc", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Total Transactions for last 3 hours" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#ef843c", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 21 + }, + "hideTimeOverride": false, + "id": 66, + "links": [], + "options": { + "legend": { + "calcs": [ + "mean", + "max", + "last" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.5.0-107105pre", + "targets": [ + { + "datasource": { + "uid": "$DS" + }, + "editorMode": "code", + "expr": "feemarket_base_fee{chain_id=\"$chain_id\", instance=\"$instance\"}", + "format": "time_series", + "instant": false, + "interval": "", + "intervalFactor": 1, + "legendFormat": "Base Fee", + "refId": "A" + } + ], + "title": "Base fee", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -837,7 +1255,7 @@ "h": 1, "w": 24, "x": 0, - "y": 21 + "y": 26 }, "id": 55, "panels": [], @@ -893,7 +1311,7 @@ "h": 4, "w": 6, "x": 0, - "y": 22 + "y": 27 }, "hideTimeOverride": true, "id": 53, @@ -901,14 +1319,16 @@ "options": { "orientation": "horizontal", "reduceOptions": { - "calcs": ["last"], + "calcs": [ + "last" + ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -963,7 +1383,7 @@ "h": 4, "w": 6, "x": 6, - "y": 22 + "y": 27 }, "hideTimeOverride": true, "id": 56, @@ -971,14 +1391,16 @@ "options": { "orientation": "horizontal", "reduceOptions": { - "calcs": ["last"], + "calcs": [ + "last" + ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -1028,7 +1450,7 @@ "h": 4, "w": 6, "x": 12, - "y": 22 + "y": 27 }, "hideTimeOverride": true, "id": 60, @@ -1040,13 +1462,15 @@ "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, "textMode": "auto" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -1096,7 +1520,7 @@ "h": 4, "w": 6, "x": 18, - "y": 22 + "y": 27 }, "hideTimeOverride": true, "id": 61, @@ -1108,13 +1532,15 @@ "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "fields": "", "values": false }, "textMode": "auto" }, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "targets": [ { "datasource": { @@ -1151,7 +1577,7 @@ "h": 9, "w": 12, "x": 0, - "y": 26 + "y": 31 }, "hiddenSeries": false, "id": 59, @@ -1173,7 +1599,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "pointradius": 5, "points": false, "renderer": "flot", @@ -1205,7 +1631,9 @@ "xaxis": { "mode": "series", "show": false, - "values": ["current"] + "values": [ + "current" + ] }, "yaxes": [ { @@ -1243,7 +1671,7 @@ "h": 9, "w": 12, "x": 12, - "y": 26 + "y": 31 }, "hiddenSeries": false, "id": 58, @@ -1265,7 +1693,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "9.2.3", + "pluginVersion": "9.5.0-107644pre", "pointradius": 5, "points": false, "renderer": "flot", @@ -1297,7 +1725,9 @@ "xaxis": { "mode": "series", "show": false, - "values": ["current"] + "values": [ + "current" + ] }, "yaxes": [ { @@ -1317,16 +1747,19 @@ } ], "refresh": "5s", - "schemaVersion": 37, + "schemaVersion": 38, "style": "dark", - "tags": ["Blockchain", "Cosmos"], + "tags": [ + "Blockchain", + "Cosmos" + ], "templating": { "list": [ { "current": { "selected": false, - "text": "Prometheus", - "value": "Prometheus" + "text": "default", + "value": "default" }, "hide": 0, "includeAll": false, @@ -1342,7 +1775,7 @@ }, { "current": { - "selected": true, + "selected": false, "text": "evmos_9000-1", "value": "evmos_9000-1" }, @@ -1372,7 +1805,7 @@ { "allValue": "", "current": { - "selected": true, + "selected": false, "text": "node0:26660", "value": "node0:26660" }, @@ -1418,11 +1851,21 @@ "2h", "1d" ], - "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"] + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] }, "timezone": "", "title": "Cosmos Dashboard", "uid": "UJyurCTWz", "version": 1, "weekStart": "" -} +} \ No newline at end of file diff --git a/localnet/docker-compose.yml b/localnet/docker-compose.yml index f7e6647..941367d 100644 --- a/localnet/docker-compose.yml +++ b/localnet/docker-compose.yml @@ -6,9 +6,6 @@ services: image: "localnet/node" volumes: - ./build/node0/evmosd:/evmos:Z - # TODO replace this line to "./build/node0/ethermintd:/ethermint:Z" when issue https://github.com/evmos/ethermint/issues/1579 is solved - # same applies to the other nodes - - ./build/node0/evmosd:/ethermint:Z command: - ./multi-node-start.sh # Use the 'pruning' env variable to set custom pruning settings @@ -28,10 +25,14 @@ services: container_name: node1 image: "localnet/node" ports: - - "26659-26660:26656-26657" + - "26656-26657:26656-26657" + - "26660:26660" + - "1317:1317" + - "8545:8545" + - "6065:6065" + - "9000:9090" volumes: - ./build/node1/evmosd:/evmos:Z - - ./build/node1/evmosd:/ethermint:Z command: - ./multi-node-start.sh networks: @@ -49,7 +50,6 @@ services: image: "localnet/node" volumes: - ./build/node2/evmosd:/evmos:Z - - ./build/node2/evmosd:/ethermint:Z command: - ./multi-node-start.sh networks: @@ -67,7 +67,6 @@ services: image: "localnet/node" volumes: - ./build/node3/evmosd:/evmos:Z - - ./build/node3/evmosd:/ethermint:Z command: - ./multi-node-start.sh networks: @@ -85,7 +84,6 @@ services: image: "localnet/node" volumes: - ./build/node4/evmosd:/evmos:Z - - ./build/node4/evmosd:/ethermint:Z command: - ./multi-node-start.sh networks: @@ -162,7 +160,7 @@ services: restart: always networks: localnet: - ipv4_address: 192.167.10.10 + ipv4_address: 192.167.10.10 cadvisor: image: gcr.io/cadvisor/cadvisor:v0.45.0 @@ -180,7 +178,7 @@ services: mode: global networks: localnet: - ipv4_address: 192.167.10.12 + ipv4_address: 192.167.10.11 networks: localnet: diff --git a/prometheus/prometheus-localnet.yml b/prometheus/prometheus-localnet.yml index 44068ba..2fd5767 100644 --- a/prometheus/prometheus-localnet.yml +++ b/prometheus/prometheus-localnet.yml @@ -64,7 +64,3 @@ scrape_configs: - job_name: "tx-bot1" static_configs: - targets: ["tx-bot1:8080"] - - - job_name: "tx-bot2" - static_configs: - - targets: ["tx-bot2:8080"]