392 lines
10 KiB
JSON
392 lines
10 KiB
JSON
{
|
|
"annotations": { "list": [] },
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 1,
|
|
"id": null,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"title": "Block Height",
|
|
"type": "stat",
|
|
"gridPos": { "h": 4, "w": 6, "x": 0, "y": 0 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_latest_block_height{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "thresholds" },
|
|
"thresholds": { "steps": [{ "color": "green", "value": null }] }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Connected Peers",
|
|
"type": "stat",
|
|
"gridPos": { "h": 4, "w": 6, "x": 6, "y": 0 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_p2p_peers{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "thresholds" },
|
|
"thresholds": {
|
|
"steps": [
|
|
{ "color": "red", "value": null },
|
|
{ "color": "yellow", "value": 1 },
|
|
{ "color": "green", "value": 3 }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Validators",
|
|
"type": "stat",
|
|
"gridPos": { "h": 4, "w": 6, "x": 12, "y": 0 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_validators{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "thresholds" },
|
|
"thresholds": { "steps": [{ "color": "green", "value": null }] }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Consensus Rounds",
|
|
"type": "stat",
|
|
"gridPos": { "h": 4, "w": 6, "x": 18, "y": 0 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_rounds{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "thresholds" },
|
|
"thresholds": {
|
|
"steps": [
|
|
{ "color": "green", "value": null },
|
|
{ "color": "yellow", "value": 1 },
|
|
{ "color": "red", "value": 3 }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Block Height Over Time",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 4 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_latest_block_height{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Block Time (seconds)",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 4 },
|
|
"targets": [
|
|
{
|
|
"expr": "rate(cometbft_consensus_latest_block_height{instance=~\"$instance\"}[1m]) ",
|
|
"legendFormat": "blocks/min {{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"unit": "short"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Transactions Per Block",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 12 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_num_txs{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 20, "drawStyle": "bars" }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Mempool Size",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 12 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_mempool_size{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "P2P Message Bytes Received",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 20 },
|
|
"targets": [
|
|
{
|
|
"expr": "rate(cometbft_p2p_message_receive_bytes_total{instance=~\"$instance\"}[5m])",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"unit": "Bps"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "P2P Message Bytes Sent",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 20 },
|
|
"targets": [
|
|
{
|
|
"expr": "rate(cometbft_p2p_message_send_bytes_total{instance=~\"$instance\"}[5m])",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"unit": "Bps"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Block Size (bytes)",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 28 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_block_size_bytes{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"unit": "bytes"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Missing Validators",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 28 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_missing_validators{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"color": { "mode": "palette-classic" }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Total Transactions",
|
|
"type": "stat",
|
|
"gridPos": { "h": 4, "w": 6, "x": 0, "y": 36 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_total_txs{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "thresholds" },
|
|
"thresholds": { "steps": [{ "color": "green", "value": null }] }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Byzantine Validators",
|
|
"type": "stat",
|
|
"gridPos": { "h": 4, "w": 6, "x": 6, "y": 36 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_byzantine_validators{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "thresholds" },
|
|
"thresholds": {
|
|
"steps": [
|
|
{ "color": "green", "value": null },
|
|
{ "color": "red", "value": 1 }
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Failed Transactions",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 40 },
|
|
"targets": [
|
|
{
|
|
"expr": "rate(cometbft_consensus_failed_txs{instance=~\"$instance\"}[5m])",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 20, "drawStyle": "bars" },
|
|
"color": { "mode": "palette-classic" }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Mempool Pending Bytes",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 40 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_mempool_size_bytes{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"unit": "bytes"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Validator Power",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 48 },
|
|
"targets": [
|
|
{
|
|
"expr": "cometbft_consensus_missing_validators_power{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"color": { "mode": "palette-classic" }
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Go Process Memory",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 48 },
|
|
"targets": [
|
|
{
|
|
"expr": "go_memstats_alloc_bytes{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"unit": "bytes"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "Go Goroutines",
|
|
"type": "timeseries",
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 56 },
|
|
"targets": [
|
|
{
|
|
"expr": "go_goroutines{instance=~\"$instance\"}",
|
|
"legendFormat": "{{instance}}",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": { "lineWidth": 2, "fillOpacity": 10 },
|
|
"color": { "mode": "palette-classic" }
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"schemaVersion": 39,
|
|
"tags": ["clawchain", "cosmos", "blockchain"],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": { "selected": true, "text": "All", "value": "$__all" },
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"definition": "label_values(cometbft_consensus_latest_block_height, instance)",
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "instance",
|
|
"query": "label_values(cometbft_consensus_latest_block_height, instance)",
|
|
"refresh": 2,
|
|
"regex": "",
|
|
"sort": 1,
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"time": { "from": "now-1h", "to": "now" },
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "ClawChain Overview",
|
|
"uid": "clawchain-overview",
|
|
"version": 2
|
|
}
|