Use latest processed block metric from sync status in watcher dashboard
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 34s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m35s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m13s
Smoke Test / Run basic test suite (pull_request) Successful in 5m6s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m2s

This commit is contained in:
Prathamesh Musale 2024-06-12 17:02:33 +05:30
parent a11034a832
commit e9d7fd4666

View File

@ -18,7 +18,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 4,
"id": 2,
"links": [
{
"asDropdown": false,
@ -311,7 +311,7 @@
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_processed\"}",
"fullMetaSearch": false,
"hide": false,
"includeNullMetadata": true,
@ -708,7 +708,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_processed\"}",
"hide": false,
"instant": false,
"legendFormat": "{{__name__}}",
@ -725,7 +725,7 @@
"binary": {
"left": "latest_upstream_block_number",
"operator": "-",
"right": "last_processed_block_number"
"right": "sync_status_block_number"
},
"mode": "binary",
"reduce": {
@ -819,7 +819,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_processed\"}",
"hide": false,
"instant": false,
"legendFormat": "{{__name__}}",
@ -836,7 +836,7 @@
"binary": {
"left": "latest_block_number",
"operator": "-",
"right": "last_processed_block_number"
"right": "sync_status_block_number"
},
"mode": "binary",
"reduce": {
@ -1005,12 +1005,12 @@
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
"editorMode": "code",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_processed\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "latest_processed",
"legendFormat": "{{kind}}",
"range": true,
"refId": "A",
"useBackend": false
@ -1021,7 +1021,7 @@
"uid": "PBFA97CFB590B2093"
},
"disableTextWrap": false,
"editorMode": "builder",
"editorMode": "code",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_canonical\"}",
"fullMetaSearch": false,
"hide": false,
@ -1464,7 +1464,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_indexed\"}",
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_processed\"}",
"hide": false,
"instant": false,
"legendFormat": "{{__name__}}",