UNPKG

@fairmint/canton-node-sdk

Version:
465 lines (464 loc) 11.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" } ] }, "description": "Health status of the CometBFT P2P Network as measured by incoming / outgoing ", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 1283, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "$DS" }, "description": "Total peer-wise rate of bytes sent or received over all channels over the P2P network", "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "fieldMinMax": false, "mappings": [], "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "red", "value": null }, { "color": "#EAB839", "value": 1 }, { "color": "green", "value": 10 } ] }, "unit": "KBs" }, "overrides": [] }, "gridPos": { "h": 13, "w": 24, "x": 0, "y": 0 }, "id": 66, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "prometheus" }, "editorMode": "code", "expr": "sum by (peer_id) (rate(cometbft_p2p_peer_receive_bytes_total{namespace=\"$namespace\", chain_id=\"$chain_id\", job=\"$instance\"}[$__rate_interval]) / 1000) + sum by (peer_id) (rate(cometbft_p2p_peer_send_bytes_total{namespace=\"$namespace\", chain_id=\"$chain_id\", job=\"$instance\"}[$__rate_interval]) / 1000)", "instant": false, "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Total Network Throughput (current)", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "$DS" }, "description": "Peer-wise rate of bytes received over all channels over the P2P network", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "dashed" } }, "fieldMinMax": false, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 2000 } ] }, "unit": "binBps" }, "overrides": [] }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 13 }, "id": 59, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "asc" } }, "pluginVersion": "10.1.5", "targets": [ { "datasource": { "uid": "$DS" }, "editorMode": "code", "expr": "sum by (peer_id) (rate(cometbft_p2p_peer_receive_bytes_total{namespace=\"$namespace\", chain_id=\"$chain_id\", job=\"$instance\"}[$__rate_interval]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{peer_id}}", "range": true, "refId": "A" } ], "title": "Incoming Network Throughput", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "$DS" }, "description": "Peer-wise rate of bytes sent over all channels over the P2P network", "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "dashed" } }, "fieldMinMax": false, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 2000 } ] }, "unit": "binBps" }, "overrides": [] }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 25 }, "id": 65, "options": { "legend": { "calcs": [], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "asc" } }, "pluginVersion": "10.1.5", "targets": [ { "datasource": { "uid": "$DS" }, "editorMode": "code", "expr": "sum by (peer_id) (rate(cometbft_p2p_peer_send_bytes_total{namespace=\"$namespace\", chain_id=\"$chain_id\", job=\"$instance\"}[$__rate_interval]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{peer_id}}", "range": true, "refId": "A" } ], "title": "Outgoing Network Throughput", "type": "timeseries" } ], "refresh": "", "schemaVersion": 39, "tags": [ "Blockchain" ], "templating": { "list": [ { "current": { "selected": false, "text": "default", "value": "default" }, "hide": 0, "includeAll": false, "label": "Datasource", "multi": false, "name": "DS", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": { "selected": false, "text": "sv-1", "value": "sv-1" }, "datasource": { "type": "prometheus", "uid": "$DS" }, "definition": "label_values(cometbft_p2p_message_receive_bytes_total,namespace)", "hide": 0, "includeAll": false, "label": "namespace", "multi": false, "name": "namespace", "options": [], "query": { "qryType": 1, "query": "label_values(cometbft_p2p_message_receive_bytes_total,namespace)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "current": { "selected": true, "text": "cidaily-0-0.2.0-snapshot.20240725.6534.0.v112d3fc6", "value": "cidaily-0-0.2.0-snapshot.20240725.6534.0.v112d3fc6" }, "datasource": { "type": "prometheus", "uid": "$DS" }, "definition": "label_values(cometbft_p2p_message_receive_bytes_total,chain_id)", "hide": 0, "includeAll": false, "label": "Chain ID", "multi": false, "name": "chain_id", "options": [], "query": { "qryType": 1, "query": "label_values(cometbft_p2p_message_receive_bytes_total,chain_id)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false }, { "allValue": "", "current": { "selected": false, "text": "global-domain-0-cometbft-cometbft-rpc", "value": "global-domain-0-cometbft-cometbft-rpc" }, "datasource": { "type": "prometheus", "uid": "$DS" }, "definition": "label_values(cometbft_p2p_message_receive_bytes_total{chain_id=\"$chain_id\"},job)", "hide": 0, "includeAll": false, "label": "Instance", "multi": false, "name": "instance", "options": [], "query": { "qryType": 1, "query": "label_values(cometbft_p2p_message_receive_bytes_total{chain_id=\"$chain_id\"},job)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 5, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-12h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "CometBFT Network Status", "uid": "ddsuu1wnxwetcd", "version": 7, "weekStart": "" }