2026-05-15 19:18:10 +03:00

1620 lines
47 KiB
JSON

{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "Prometheus data source for ClawChain metrics",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"description": "ClawChain Comprehensive Observability Dashboard - Chain, Agent, GPU, Marketplace, Privacy, and System metrics",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": null,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
"id": 1,
"title": "Chain Overview",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Current blockchain height over time",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Height",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"scaleDistribution": { "type": "linear" },
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 8, "x": 0, "y": 1 },
"id": 2,
"options": {
"legend": { "calcs": ["lastNotNull"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Block Height",
"type": "timeseries",
"targets": [
{
"expr": "cometbft_consensus_height",
"legendFormat": "Block Height",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Average block production interval (lower is better, target ~5s)",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null },
{ "color": "#EAB839", "value": 7 },
{ "color": "red", "value": 10 }
]
},
"unit": "s",
"min": 0,
"max": 20
},
"overrides": []
},
"gridPos": { "h": 8, "w": 4, "x": 8, "y": 1 },
"id": 3,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"title": "Block Time (avg last 100 blocks)",
"type": "gauge",
"targets": [
{
"expr": "rate(cometbft_consensus_block_interval_seconds_sum[5m]) / rate(cometbft_consensus_block_interval_seconds_count[5m])",
"legendFormat": "Avg Block Time",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Transactions committed per second (5m rate)",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "tx/s",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "ops"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 8, "x": 12, "y": 1 },
"id": 4,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Transaction Rate",
"type": "timeseries",
"targets": [
{
"expr": "rate(cometbft_consensus_num_txs[5m])",
"legendFormat": "Committed tx/s",
"refId": "A"
},
{
"expr": "rate(cometbft_mempool_failed_txs[5m])",
"legendFormat": "Failed tx/s",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of active validators in the current validator set",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "red", "value": null },
{ "color": "#EAB839", "value": 2 },
{ "color": "green", "value": 4 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 20, "y": 1 },
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Active Validators",
"type": "stat",
"targets": [
{
"expr": "cometbft_consensus_validators",
"legendFormat": "Validators",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Missing validator power indicates validators missing block signatures",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Missed Power",
"axisPlacement": "auto",
"drawStyle": "bars",
"fillOpacity": 50,
"gradientMode": "none",
"lineWidth": 1,
"pointSize": 5,
"showPoints": "never",
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 20, "y": 5 },
"id": 6,
"options": {
"legend": { "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Missed Blocks",
"type": "timeseries",
"targets": [
{
"expr": "increase(cometbft_consensus_missing_validators_power[5m])",
"legendFormat": "Missing Power",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 9 },
"id": 10,
"title": "Economics",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Total supply of uclaw tokens",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "blue", "value": null }
]
},
"unit": "none",
"decimals": 0
},
"overrides": []
},
"gridPos": { "h": 6, "w": 6, "x": 0, "y": 10 },
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Total Supply (uclaw)",
"type": "stat",
"targets": [
{
"expr": "cosmos_bank_supply{denom=\"uclaw\"}",
"legendFormat": "Total Supply",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Ratio of bonded vs unbonded tokens in the staking pool",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"hideFrom": { "legend": false, "tooltip": false, "viz": false }
},
"unit": "none"
},
"overrides": [
{
"matcher": { "id": "byName", "options": "Bonded" },
"properties": [
{ "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } }
]
},
{
"matcher": { "id": "byName", "options": "Unbonded" },
"properties": [
{ "id": "color", "value": { "fixedColor": "orange", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 6, "w": 6, "x": 6, "y": 10 },
"id": 12,
"options": {
"displayLabels": ["name", "percent"],
"legend": { "displayMode": "list", "placement": "right", "showLegend": true },
"pieType": "donut",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Bonded vs Unbonded Ratio",
"type": "piechart",
"targets": [
{
"expr": "cosmos_staking_bonded_tokens",
"legendFormat": "Bonded",
"refId": "A"
},
{
"expr": "cosmos_staking_not_bonded_tokens",
"legendFormat": "Unbonded",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Current inflation rate of the chain",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null },
{ "color": "#EAB839", "value": 0.15 },
{ "color": "red", "value": 0.20 }
]
},
"unit": "percentunit",
"min": 0,
"max": 0.30
},
"overrides": []
},
"gridPos": { "h": 6, "w": 6, "x": 12, "y": 10 },
"id": 13,
"options": {
"minVizHeight": 75,
"minVizWidth": 75,
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true,
"sizing": "auto"
},
"title": "Inflation Rate",
"type": "gauge",
"targets": [
{
"expr": "cosmos_mint_inflation",
"legendFormat": "Inflation",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Community pool balance in uclaw",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "purple", "value": null }
]
},
"unit": "none",
"decimals": 0
},
"overrides": []
},
"gridPos": { "h": 6, "w": 6, "x": 18, "y": 10 },
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Community Pool Balance",
"type": "stat",
"targets": [
{
"expr": "cosmos_distribution_community_pool{denom=\"uclaw\"}",
"legendFormat": "Community Pool",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 16 },
"id": 20,
"title": "Agent Network",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of currently active (live) agents on ClawChain",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "red", "value": null },
{ "color": "#EAB839", "value": 5 },
{ "color": "green", "value": 20 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 0, "y": 17 },
"id": 21,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Active Agents",
"type": "stat",
"targets": [
{
"expr": "clawchain_agent_active_count",
"legendFormat": "Active Agents",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Agent registration rate over time (hourly increase)",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Registrations",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 8, "x": 4, "y": 17 },
"id": 22,
"options": {
"legend": { "calcs": ["sum"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Agent Registrations Over Time",
"type": "timeseries",
"targets": [
{
"expr": "increase(clawchain_agent_registrations_total[1h])",
"legendFormat": "New Registrations (1h)",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Rate of task completions per second",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "tasks/s",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "ops"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 4, "x": 12, "y": 17 },
"id": 23,
"options": {
"legend": { "calcs": ["mean"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Task Completion Rate",
"type": "timeseries",
"targets": [
{
"expr": "rate(clawchain_agent_tasks_completed_total[5m])",
"legendFormat": "Completed/s",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Cumulative agent mining rewards distributed over time",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "uclaw",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 4, "x": 16, "y": 17 },
"id": 24,
"options": {
"legend": { "calcs": ["lastNotNull"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Agent Mining Rewards",
"type": "timeseries",
"targets": [
{
"expr": "clawchain_agent_rewards_distributed_total",
"legendFormat": "Rewards (cumulative)",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Rate of agent heartbeats received per second",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "heartbeats/s",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "ops"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 4, "x": 20, "y": 17 },
"id": 25,
"options": {
"legend": { "calcs": ["mean"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Heartbeat Rate",
"type": "timeseries",
"targets": [
{
"expr": "rate(clawchain_agent_heartbeats_total[5m])",
"legendFormat": "Heartbeats/s",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Total agents registered on ClawChain",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 0, "y": 21 },
"id": 26,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Total Agents Registered",
"type": "stat",
"targets": [
{
"expr": "clawchain_agent_registrations_total",
"legendFormat": "Total Registered",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 25 },
"id": 30,
"title": "GPU Compute",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of currently running GPU jobs",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null },
{ "color": "#EAB839", "value": 50 },
{ "color": "red", "value": 100 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 0, "y": 26 },
"id": 31,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Active GPU Jobs",
"type": "stat",
"targets": [
{
"expr": "claw_gpu_provider_active_jobs",
"legendFormat": "Active Jobs",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Total jobs processed by status (completed, failed, cancelled)",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Jobs",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "normal" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": [
{
"matcher": { "id": "byName", "options": "completed" },
"properties": [
{ "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } }
]
},
{
"matcher": { "id": "byName", "options": "failed" },
"properties": [
{ "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
]
},
{
"matcher": { "id": "byName", "options": "cancelled" },
"properties": [
{ "id": "color", "value": { "fixedColor": "orange", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 8, "w": 8, "x": 4, "y": 26 },
"id": 32,
"options": {
"legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "multi", "sort": "desc" }
},
"title": "Total Jobs Processed (by status)",
"type": "timeseries",
"targets": [
{
"expr": "increase(claw_gpu_provider_jobs_total[5m])",
"legendFormat": "{{status}}",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Distribution of GPU job execution durations",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Duration",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "s"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 4, "x": 12, "y": 26 },
"id": 33,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Job Duration (p50 / p99)",
"type": "timeseries",
"targets": [
{
"expr": "histogram_quantile(0.50, rate(claw_gpu_provider_job_duration_seconds_bucket[5m]))",
"legendFormat": "p50",
"refId": "A"
},
{
"expr": "histogram_quantile(0.99, rate(claw_gpu_provider_job_duration_seconds_bucket[5m]))",
"legendFormat": "p99",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Available GPU resources by model",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "GPUs",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "stepAfter",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "normal" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 4, "x": 16, "y": 26 },
"id": 34,
"options": {
"legend": { "calcs": ["lastNotNull"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "multi", "sort": "desc" }
},
"title": "GPU Resources Available",
"type": "timeseries",
"targets": [
{
"expr": "claw_gpu_provider_gpu_available",
"legendFormat": "{{gpu_model}}",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of jobs waiting in the scheduler queue",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null },
{ "color": "#EAB839", "value": 20 },
{ "color": "red", "value": 50 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 20, "y": 26 },
"id": 35,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Queue Depth",
"type": "stat",
"targets": [
{
"expr": "claw_gpu_provider_scheduler_queue_size",
"legendFormat": "Queue Size",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Reconciler execution runs and detected mismatches",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Runs",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 15,
"gradientMode": "none",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": [
{
"matcher": { "id": "byName", "options": "Mismatches" },
"properties": [
{ "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 4, "w": 4, "x": 20, "y": 30 },
"id": 36,
"options": {
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "multi", "sort": "none" }
},
"title": "Reconciler Runs",
"type": "timeseries",
"targets": [
{
"expr": "increase(claw_gpu_provider_reconciler_runs_total[5m])",
"legendFormat": "Runs",
"refId": "A"
},
{
"expr": "increase(claw_gpu_provider_reconciler_mismatches_total[5m])",
"legendFormat": "Mismatches",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Latest block height processed by the GPU provider event cursor",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "blue", "value": null }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 4, "w": 4, "x": 0, "y": 30 },
"id": 37,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Event Cursor Height",
"type": "stat",
"targets": [
{
"expr": "claw_gpu_provider_event_cursor_height",
"legendFormat": "Cursor Height",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 34 },
"id": 40,
"title": "Privacy Pool",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of leaves in the privacy Merkle tree (commitments)",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "purple", "value": null }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 6, "w": 6, "x": 0, "y": 35 },
"id": 41,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Merkle Tree Leaf Count",
"type": "stat",
"targets": [
{
"expr": "clawchain_privacy_merkle_leaf_count",
"legendFormat": "Leaves",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Rate of shield and unshield transactions over time",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "tx/s",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "ops"
},
"overrides": [
{
"matcher": { "id": "byName", "options": "Shield tx/s" },
"properties": [
{ "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } }
]
},
{
"matcher": { "id": "byName", "options": "Unshield tx/s" },
"properties": [
{ "id": "color", "value": { "fixedColor": "orange", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 6, "w": 12, "x": 6, "y": 35 },
"id": 42,
"options": {
"legend": { "calcs": ["mean", "sum"], "displayMode": "table", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "multi", "sort": "desc" }
},
"title": "Shield / Unshield Transaction Rate",
"type": "timeseries",
"targets": [
{
"expr": "rate(clawchain_privacy_shield_total[5m])",
"legendFormat": "Shield tx/s",
"refId": "A"
},
{
"expr": "rate(clawchain_privacy_unshield_total[5m])",
"legendFormat": "Unshield tx/s",
"refId": "B"
},
{
"expr": "rate(clawchain_privacy_private_transfer_total[5m])",
"legendFormat": "Private Transfer tx/s",
"refId": "C"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Total number of spent nullifiers (prevents double-spending)",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "dark-purple", "value": null }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 6, "w": 6, "x": 18, "y": 35 },
"id": 43,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Nullifier Count",
"type": "stat",
"targets": [
{
"expr": "clawchain_privacy_nullifier_count",
"legendFormat": "Nullifiers",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 41 },
"id": 50,
"title": "Marketplace",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Total number of skills listed on the marketplace",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "blue", "value": null }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 6, "w": 8, "x": 0, "y": 42 },
"id": 51,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Skills Listed",
"type": "stat",
"targets": [
{
"expr": "clawchain_marketplace_skills_listed",
"legendFormat": "Skills",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Total value locked in marketplace escrow accounts (uclaw)",
"fieldConfig": {
"defaults": {
"color": { "mode": "thresholds" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null },
{ "color": "#EAB839", "value": 1000000 },
{ "color": "red", "value": 10000000 }
]
},
"unit": "none",
"decimals": 0
},
"overrides": []
},
"gridPos": { "h": 6, "w": 8, "x": 8, "y": 42 },
"id": 52,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"textMode": "auto"
},
"title": "Escrow Value (uclaw)",
"type": "stat",
"targets": [
{
"expr": "clawchain_marketplace_escrow_value",
"legendFormat": "Escrow Total",
"refId": "A"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Rate of marketplace disputes over time",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Disputes",
"axisPlacement": "auto",
"drawStyle": "bars",
"fillOpacity": 50,
"gradientMode": "none",
"lineWidth": 1,
"pointSize": 5,
"showPoints": "never",
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
},
"unit": "none"
},
"overrides": [
{
"matcher": { "id": "byName", "options": "Disputes (1h)" },
"properties": [
{ "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
]
}
]
},
"gridPos": { "h": 6, "w": 8, "x": 16, "y": 42 },
"id": 53,
"options": {
"legend": { "calcs": ["sum"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Dispute Rate",
"type": "timeseries",
"targets": [
{
"expr": "increase(clawchain_marketplace_disputes_total[1h])",
"legendFormat": "Disputes (1h)",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 48 },
"id": 60,
"title": "System",
"type": "row"
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Process resident memory usage of the clawchaind process",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Memory",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "line+area" }
},
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "transparent", "value": null },
{ "color": "red", "value": 4294967296 }
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 6, "x": 0, "y": 49 },
"id": 61,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Memory Usage",
"type": "timeseries",
"targets": [
{
"expr": "process_resident_memory_bytes{job=\"cometbft\"}",
"legendFormat": "CometBFT RSS",
"refId": "A"
},
{
"expr": "process_resident_memory_bytes{job=\"claw-gpu-provider\"}",
"legendFormat": "GPU Provider RSS",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Rate of CPU seconds consumed by processes",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "CPU cores",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 20,
"gradientMode": "scheme",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "line+area" }
},
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "transparent", "value": null },
{ "color": "red", "value": 4 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 6, "x": 6, "y": 49 },
"id": 62,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "CPU Usage (process)",
"type": "timeseries",
"targets": [
{
"expr": "rate(process_cpu_seconds_total{job=\"cometbft\"}[5m])",
"legendFormat": "CometBFT CPU",
"refId": "A"
},
{
"expr": "rate(process_cpu_seconds_total{job=\"claw-gpu-provider\"}[5m])",
"legendFormat": "GPU Provider CPU",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of goroutines running in Go processes",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Goroutines",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "line+area" }
},
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "transparent", "value": null },
{ "color": "red", "value": 10000 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 6, "x": 12, "y": 49 },
"id": 63,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Goroutines",
"type": "timeseries",
"targets": [
{
"expr": "go_goroutines{job=\"cometbft\"}",
"legendFormat": "CometBFT",
"refId": "A"
},
{
"expr": "go_goroutines{job=\"claw-gpu-provider\"}",
"legendFormat": "GPU Provider",
"refId": "B"
}
]
},
{
"datasource": "${DS_PROMETHEUS}",
"description": "Number of open file descriptors for processes",
"fieldConfig": {
"defaults": {
"color": { "mode": "palette-classic" },
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "FDs",
"axisPlacement": "auto",
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 5,
"showPoints": "never",
"spanNulls": true,
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "line+area" }
},
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "transparent", "value": null },
{ "color": "red", "value": 10000 }
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": { "h": 8, "w": 6, "x": 18, "y": 49 },
"id": 64,
"options": {
"legend": { "calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom", "showLegend": true },
"tooltip": { "mode": "single", "sort": "none" }
},
"title": "Open File Descriptors",
"type": "timeseries",
"targets": [
{
"expr": "process_open_fds{job=\"cometbft\"}",
"legendFormat": "CometBFT FDs",
"refId": "A"
},
{
"expr": "process_open_fds{job=\"claw-gpu-provider\"}",
"legendFormat": "GPU Provider FDs",
"refId": "B"
},
{
"expr": "process_max_fds{job=\"cometbft\"}",
"legendFormat": "CometBFT Max FDs",
"refId": "C"
}
]
}
],
"refresh": "15s",
"schemaVersion": 39,
"tags": ["clawchain", "cometbft", "cosmos", "blockchain", "gpu", "agent", "privacy", "marketplace", "full"],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": ["5s", "10s", "15s", "30s", "1m", "5m", "15m", "30m", "1h"],
"time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
},
"timezone": "browser",
"title": "ClawChain Full Observability",
"uid": "clawchain-full",
"version": 1
}