Processing lag monitoring
This commit is contained in:
parent
989e270d86
commit
69e0b45e6e
|
@ -21,8 +21,7 @@
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"gnetId": null,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": 1,
|
"iteration": 1653133345364,
|
||||||
"iteration": 1648451982586,
|
|
||||||
"links": [],
|
"links": [],
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
|
@ -281,14 +280,17 @@
|
||||||
"axisPlacement": "auto",
|
"axisPlacement": "auto",
|
||||||
"barAlignment": 0,
|
"barAlignment": 0,
|
||||||
"drawStyle": "line",
|
"drawStyle": "line",
|
||||||
"fillOpacity": 0,
|
"fillOpacity": 30,
|
||||||
"gradientMode": "none",
|
"gradientMode": "opacity",
|
||||||
"hideFrom": {
|
"hideFrom": {
|
||||||
"legend": false,
|
"legend": false,
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"viz": false
|
"viz": false
|
||||||
},
|
},
|
||||||
"lineInterpolation": "linear",
|
"lineInterpolation": "linear",
|
||||||
|
"lineStyle": {
|
||||||
|
"fill": "solid"
|
||||||
|
},
|
||||||
"lineWidth": 1,
|
"lineWidth": 1,
|
||||||
"pointSize": 5,
|
"pointSize": 5,
|
||||||
"scaleDistribution": {
|
"scaleDistribution": {
|
||||||
|
@ -344,10 +346,20 @@
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"exemplar": true,
|
"exemplar": true,
|
||||||
"expr": "{__name__=~\"monitor_contract_latest_head_block|monitor_contract_latest_fetched_block|monitor_contract_latest_processed_block\",chain_id=\"$chain\"} > 0",
|
"expr": "monitor_contract_latest_head_block{chain_id=\"$chain\"} - monitor_contract_latest_fetched_block{chain_id=\"$chain\"}",
|
||||||
|
"hide": false,
|
||||||
|
"instant": false,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{bridge_id}} - {{__name__}}",
|
"legendFormat": "fetching lag {{bridge_id}}",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"exemplar": true,
|
||||||
|
"expr": "monitor_contract_latest_fetched_block{chain_id=\"$chain\"} - monitor_contract_latest_processed_block{chain_id=\"$chain\"}",
|
||||||
|
"hide": false,
|
||||||
|
"interval": "",
|
||||||
|
"legendFormat": "processing lag {{bridge_id}}",
|
||||||
|
"refId": "B"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Syncronization in $chain",
|
"title": "Syncronization in $chain",
|
||||||
|
|
Loading…
Reference in New Issue