mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
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
1791 lines
48 KiB
JSON
1791 lines
48 KiB
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 0,
|
|
"id": 4,
|
|
"links": [
|
|
{
|
|
"icon": "external link",
|
|
"tags": [
|
|
"Lux"
|
|
],
|
|
"type": "dashboards"
|
|
}
|
|
],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 15,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"lastNotNull",
|
|
"max"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "round(increase(lux_X_blks_accepted_count{instance=~\"$host\",job=\"luxd\"}[1m]))>0",
|
|
"interval": "",
|
|
"legendFormat": "Accepted",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "round(increase(lux_X_blks_rejected_count{instance=~\"$host\",job=\"luxd\"}[1m]))>0",
|
|
"hide": true,
|
|
"interval": "",
|
|
"legendFormat": "Rejected",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Blocks Accepted/Rejected in Last Minute",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "The average time between a block's issuance and acceptance by this node over the last 5 minutes.",
|
|
"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": "line+area"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "transparent",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "ns"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 0
|
|
},
|
|
"id": 23,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"lastNotNull",
|
|
"max"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "rate(lux_X_blks_accepted_sum{instance=~\"$host\",job=\"luxd\"}[5m]) / rate(lux_X_blks_accepted_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "Accepted",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "rate(lux_X_blks_rejected_sum{instance=~\"$host\",job=\"luxd\"}[5m]) / rate(lux_X_blks_rejected_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Rejected",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Block Acceptance Latency",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 100,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "line+area"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "transparent",
|
|
"value": null
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 8
|
|
},
|
|
"id": 9,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"lastNotNull",
|
|
"max"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "lux_X_blks_processing{instance=~\"$host\", job=\"luxd\"}>0",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "Blocks",
|
|
"range": true,
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"title": "Blocks Processing",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "Percentage of queries sent that we receive a response to. (Average over the last 5 minutes.)",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 1,
|
|
"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": "line+area"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "red",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "transparent",
|
|
"value": 0.9
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 8,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 8
|
|
},
|
|
"id": 11,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"lastNotNull",
|
|
"min"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "(increase(lux_X_handler_chits_count{instance=~\"$host\",job=\"luxd\"}[5m]) + 1) / (increase(lux_X_handler_chits_count{instance=~\"$host\",job=\"luxd\"}[5m]) + increase(lux_X_handler_query_failed_count{instance=~\"$host\",job=\"luxd\"}[5m]) + 1)",
|
|
"instant": false,
|
|
"interval": "",
|
|
"legendFormat": "% Successful",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Percentage of Successful Queries",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "Measures how much of each second is being spent handling different kinds of messages on the X-Chain.\nThe value for chits, for example, is the number of seconds spent handling chits messages per second.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "seconds/second",
|
|
"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": "ns"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 16
|
|
},
|
|
"id": 5,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_pull_query_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "pull query",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_push_query_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "push query",
|
|
"range": true,
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_chits_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "chits",
|
|
"range": true,
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_accepted_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "accepted",
|
|
"range": true,
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get",
|
|
"range": true,
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "put",
|
|
"range": true,
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_multiput_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "multiput",
|
|
"range": true,
|
|
"refId": "G"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_ancestors_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get ancestors",
|
|
"range": true,
|
|
"refId": "H"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get failed",
|
|
"range": true,
|
|
"refId": "I"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_query_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "query failed",
|
|
"range": true,
|
|
"refId": "J"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_accepted_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get accepted",
|
|
"range": true,
|
|
"refId": "K"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_ancestors_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get ancestors failed",
|
|
"range": true,
|
|
"refId": "L"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_request_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app request",
|
|
"range": true,
|
|
"refId": "M"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_request_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app request failed",
|
|
"range": true,
|
|
"refId": "N"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_response_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app response",
|
|
"range": true,
|
|
"refId": "O"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_gossip_sum{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app gossip",
|
|
"range": true,
|
|
"refId": "P"
|
|
}
|
|
],
|
|
"title": "Message Handling Time (Total)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "Measures how long each kind of request on the X-Chain takes to handle.\nThe value for chits, for example, is how long, in seconds, it takes to handle a chits message.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "seconds",
|
|
"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": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "ns"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 16
|
|
},
|
|
"id": 7,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_pull_query_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_pull_query_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "pull query",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_push_query_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_push_query_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "push query",
|
|
"range": true,
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_chits_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_chits_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "chits",
|
|
"range": true,
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_accepted_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_accepted_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "accepted",
|
|
"range": true,
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get",
|
|
"range": true,
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_put_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "put",
|
|
"range": true,
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_multiput_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_multi_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "multiput",
|
|
"range": true,
|
|
"refId": "G"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_ancestors_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_get_ancestors_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get ancestors",
|
|
"range": true,
|
|
"refId": "H"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_get_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get failed",
|
|
"range": true,
|
|
"refId": "I"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_query_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_query_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "query failed",
|
|
"range": true,
|
|
"refId": "J"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_accepted_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_get_accepted_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get accepted",
|
|
"range": true,
|
|
"refId": "K"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_ancestors_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_get_ancestors_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get ancestors failed",
|
|
"range": true,
|
|
"refId": "L"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_request_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_app_request_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app request",
|
|
"range": true,
|
|
"refId": "M"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_request_failed_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_app_request_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app request failed",
|
|
"range": true,
|
|
"refId": "N"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_gossip_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_app_gossip_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app gossip",
|
|
"range": true,
|
|
"refId": "O"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_response_sum{instance=~\"$host\",job=\"luxd\"}[5m])/rate(lux_X_handler_app_response_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app response",
|
|
"range": true,
|
|
"refId": "P"
|
|
}
|
|
],
|
|
"title": "Message Handling Time",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "The total stake of validators currently \"benched\" due to poor query responsiveness. Queries to these validators will immediately timeout until they are removed from the \"bench.\"",
|
|
"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": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 25
|
|
},
|
|
"id": 25,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"lastNotNull",
|
|
"max"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "avg_over_time(lux_X_benchlist_benched_weight{instance=~\"$host\",job=\"luxd\"}[15m]) / 10^9",
|
|
"interval": "",
|
|
"legendFormat": "LUX Benched",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "LUX Benched",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "Measures how many of each kind of message are received per second on the X-Chain.",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "Messages / Second",
|
|
"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"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 25
|
|
},
|
|
"id": 6,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_pull_query_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "pull query",
|
|
"range": true,
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_push_query_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "push query",
|
|
"range": true,
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_chits_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "chits",
|
|
"range": true,
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_accepted_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "accepted",
|
|
"range": true,
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get",
|
|
"range": true,
|
|
"refId": "E"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "put",
|
|
"range": true,
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_multi_put_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "multiput",
|
|
"range": true,
|
|
"refId": "G"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_ancestors_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get ancestors",
|
|
"range": true,
|
|
"refId": "H"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get failed",
|
|
"range": true,
|
|
"refId": "I"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_query_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "query failed",
|
|
"range": true,
|
|
"refId": "J"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_accepted_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get accepted",
|
|
"range": true,
|
|
"refId": "K"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_get_ancestors_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"interval": "",
|
|
"legendFormat": "get ancestors failed",
|
|
"range": true,
|
|
"refId": "L"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_chits_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "chits",
|
|
"range": true,
|
|
"refId": "M"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_request_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app request",
|
|
"range": true,
|
|
"refId": "N"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_request_failed_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app request failed",
|
|
"range": true,
|
|
"refId": "O"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_response_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app response",
|
|
"range": true,
|
|
"refId": "P"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "rate(lux_X_handler_app_gossip_count{instance=~\"$host\",job=\"luxd\"}[5m])",
|
|
"hide": false,
|
|
"interval": "",
|
|
"legendFormat": "app gossip",
|
|
"range": true,
|
|
"refId": "Q"
|
|
}
|
|
],
|
|
"title": "Messages Received per Second",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"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": "auto",
|
|
"spanNulls": false,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 34
|
|
},
|
|
"id": 45,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "increase(lux_X_vm_lux_utxo_cache_hit{instance=~\"$host\"}[5m])/(increase(lux_X_vm_lux_utxo_cache_hit{instance=~\"$host\"}[5m])+increase(lux_X_vm_lux_utxo_cache_miss{instance=~\"$host\"}[5m]))",
|
|
"interval": "",
|
|
"legendFormat": "Hit Rate",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "UTXO Cache Hit Rate",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 10,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 34
|
|
},
|
|
"id": 43,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"exemplar": true,
|
|
"expr": "lux_X_handler_unprocessed_msgs_len{instance=~\"$host\"}",
|
|
"interval": "",
|
|
"legendFormat": "Pending Messages",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Unprocessed Incoming Messages",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"description": "",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 10,
|
|
"gradientMode": "none",
|
|
"hideFrom": {
|
|
"legend": false,
|
|
"tooltip": false,
|
|
"viz": false
|
|
},
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"showPoints": "never",
|
|
"spanNulls": true,
|
|
"stacking": {
|
|
"group": "A",
|
|
"mode": "none"
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"mappings": [],
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green"
|
|
},
|
|
{
|
|
"color": "red",
|
|
"value": 80
|
|
}
|
|
]
|
|
},
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 16,
|
|
"y": 34
|
|
},
|
|
"id": 33,
|
|
"options": {
|
|
"legend": {
|
|
"calcs": [
|
|
"mean",
|
|
"max"
|
|
],
|
|
"displayMode": "list",
|
|
"placement": "bottom",
|
|
"showLegend": true
|
|
},
|
|
"tooltip": {
|
|
"mode": "single",
|
|
"sort": "none"
|
|
}
|
|
},
|
|
"pluginVersion": "8.0.4",
|
|
"targets": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus"
|
|
},
|
|
"editorMode": "code",
|
|
"expr": "increase(lux_X_handler_expired{instance=~\"$host\"}[1m])",
|
|
"interval": "",
|
|
"legendFormat": "Expired",
|
|
"range": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Incoming Messages Expired in Last Minute",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"refresh": "10s",
|
|
"schemaVersion": 38,
|
|
"tags": [
|
|
"Lux"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"selected": true,
|
|
"text": "18.214.155.207:9650",
|
|
"value": "18.214.155.207:9650"
|
|
},
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "PBFA97CFB590B2093"
|
|
},
|
|
"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-24h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
]
|
|
},
|
|
"timezone": "",
|
|
"title": "X-Chain",
|
|
"uid": "ceRH2Am7z",
|
|
"version": 3,
|
|
"weekStart": ""
|
|
} |