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
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:
parent
a11034a832
commit
e9d7fd4666
@ -18,7 +18,7 @@
|
|||||||
"editable": true,
|
"editable": true,
|
||||||
"fiscalYearStartMonth": 0,
|
"fiscalYearStartMonth": 0,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": 4,
|
"id": 2,
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
"asDropdown": false,
|
"asDropdown": false,
|
||||||
@ -311,7 +311,7 @@
|
|||||||
},
|
},
|
||||||
"disableTextWrap": false,
|
"disableTextWrap": false,
|
||||||
"editorMode": "code",
|
"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,
|
"fullMetaSearch": false,
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"includeNullMetadata": true,
|
"includeNullMetadata": true,
|
||||||
@ -708,7 +708,7 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"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,
|
"hide": false,
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"legendFormat": "{{__name__}}",
|
"legendFormat": "{{__name__}}",
|
||||||
@ -725,7 +725,7 @@
|
|||||||
"binary": {
|
"binary": {
|
||||||
"left": "latest_upstream_block_number",
|
"left": "latest_upstream_block_number",
|
||||||
"operator": "-",
|
"operator": "-",
|
||||||
"right": "last_processed_block_number"
|
"right": "sync_status_block_number"
|
||||||
},
|
},
|
||||||
"mode": "binary",
|
"mode": "binary",
|
||||||
"reduce": {
|
"reduce": {
|
||||||
@ -819,7 +819,7 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"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,
|
"hide": false,
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"legendFormat": "{{__name__}}",
|
"legendFormat": "{{__name__}}",
|
||||||
@ -836,7 +836,7 @@
|
|||||||
"binary": {
|
"binary": {
|
||||||
"left": "latest_block_number",
|
"left": "latest_block_number",
|
||||||
"operator": "-",
|
"operator": "-",
|
||||||
"right": "last_processed_block_number"
|
"right": "sync_status_block_number"
|
||||||
},
|
},
|
||||||
"mode": "binary",
|
"mode": "binary",
|
||||||
"reduce": {
|
"reduce": {
|
||||||
@ -1005,12 +1005,12 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"disableTextWrap": false,
|
"disableTextWrap": false,
|
||||||
"editorMode": "builder",
|
"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,
|
"fullMetaSearch": false,
|
||||||
"includeNullMetadata": true,
|
"includeNullMetadata": true,
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"legendFormat": "latest_processed",
|
"legendFormat": "{{kind}}",
|
||||||
"range": true,
|
"range": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
"useBackend": false
|
"useBackend": false
|
||||||
@ -1021,7 +1021,7 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"disableTextWrap": false,
|
"disableTextWrap": false,
|
||||||
"editorMode": "builder",
|
"editorMode": "code",
|
||||||
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_canonical\"}",
|
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_canonical\"}",
|
||||||
"fullMetaSearch": false,
|
"fullMetaSearch": false,
|
||||||
"hide": false,
|
"hide": false,
|
||||||
@ -1464,7 +1464,7 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"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,
|
"hide": false,
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"legendFormat": "{{__name__}}",
|
"legendFormat": "{{__name__}}",
|
||||||
|
Loading…
Reference in New Issue
Block a user