Files
zeekay 96715881cb go mod tidy
Update CLI for genesis

Fix import paths from ethereum/go-ethereum to luxfi/geth

- Replace all ethereum/go-ethereum imports with luxfi/geth
- Add local rawdb package for unexported constants
- Fix build errors in genesis tools
- Add comprehensive migration documentation
- Create build-all.sh script for building all tools
- Clean up duplicate functions and unused imports

Fix remaining imports

Update CLI

Remove symlink

Remove local replace directives

Update

Update old templates
2025-07-31 19:40:18 +00:00

1954 lines
54 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 3,
"links": [
{
"icon": "external link",
"tags": [
"Lux"
],
"type": "dashboards"
}
],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Database read rate. Note that these reads may be from caches and not from disk.",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 13,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_read_size_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
"hide": false,
"interval": "",
"legendFormat": "Bytes Read",
"range": true,
"refId": "B"
}
],
"title": "Database Read Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Database write rate.",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "Bps"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"id": 14,
"options": {
"legend": {
"calcs": [
"mean",
"max"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_write_size_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "Write Rate",
"range": true,
"refId": "A"
}
],
"title": "Database Write Rate",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how many of each database operation is performed each second across all chains",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 8
},
"id": 2,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "Total Operations per Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how long each database operation is taking on average",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 8
},
"id": 5,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_get_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_has_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_compact_size_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_batch_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_batch_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_batch_reset_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_db_batch_replay_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "Total Operations Latency",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how many of each database operation is performed each second on X-Chain",
"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": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 15
},
"id": 6,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_X_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "X-Chain Operations per Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how long each database operation is taking on average on X-Chain",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 15
},
"id": 7,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_get_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_has_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_compact_size_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_batch_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_batch_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_batch_reset_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_X_db_batch_replay_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_X_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "X-Chain Operations Latency",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how many of each database operation is performed each second on P-Chain",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 22
},
"id": 8,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_P_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "P-Chain Operations per Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how long each database operation is taking on average on P-Chain",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 22
},
"id": 9,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_get_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_has_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_compact_size_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_batch_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_batch_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_batch_reset_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_P_db_batch_replay_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_P_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "P-Chain Operations Latency",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how many of each database operation is performed each second across all chains",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ops"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 29
},
"id": 10,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "rate(lux_C_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "C-Chain Operations per Second",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "Measures how long each database operation is taking on average on C-Chain",
"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": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ns"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 29
},
"id": 11,
"options": {
"legend": {
"calcs": [
"mean",
"lastNotNull",
"max"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "put",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_get_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "get",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "delete",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_has_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_has_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "has",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_compact_size_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_compact_size_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "compact",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_batch_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_batch_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch put",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_batch_delete_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_batch_delete_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch delete",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_batch_reset_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_batch_reset_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch reset",
"range": true,
"refId": "H"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"exemplar": true,
"expr": "increase(lux_C_db_batch_replay_sum{instance=~\"$host\",job=\"luxd\"}[5m])/increase(lux_C_db_batch_replay_count{instance=~\"$host\",job=\"luxd\"}[5m])",
"interval": "",
"legendFormat": "batch replay",
"range": true,
"refId": "I"
}
],
"title": "C-Chain Operations Latency",
"type": "timeseries"
}
],
"refresh": "10s",
"schemaVersion": 38,
"tags": [
"Lux"
],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "184.73.245.13:9650",
"value": "184.73.245.13:9650"
},
"definition": "label_values(instance)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "host",
"options": [],
"query": {
"qryType": 1,
"query": "label_values(instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "/9650/",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "Database",
"uid": "R8N89hznk",
"version": 12,
"weekStart": ""
}