Add a panel with latest processed block to 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 4m12s
Smoke Test / Run basic test suite (pull_request) Successful in 3m55s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m43s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m23s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 34s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m12s
Smoke Test / Run basic test suite (pull_request) Successful in 3m55s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m43s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m23s
This commit is contained in:
parent
cd05d26895
commit
c72cab736f
@ -282,7 +282,7 @@
|
|||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 3,
|
"h": 3,
|
||||||
"w": 4,
|
"w": 3,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 4
|
"y": 4
|
||||||
},
|
},
|
||||||
@ -303,6 +303,75 @@
|
|||||||
"wideLayout": true
|
"wideLayout": true
|
||||||
},
|
},
|
||||||
"pluginVersion": "10.2.3",
|
"pluginVersion": "10.2.3",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "PBFA97CFB590B2093"
|
||||||
|
},
|
||||||
|
"disableTextWrap": false,
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
|
||||||
|
"fullMetaSearch": false,
|
||||||
|
"hide": false,
|
||||||
|
"includeNullMetadata": true,
|
||||||
|
"instant": false,
|
||||||
|
"legendFormat": "__auto",
|
||||||
|
"range": true,
|
||||||
|
"refId": "B",
|
||||||
|
"useBackend": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Latest processed block",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "prometheus",
|
||||||
|
"uid": "PBFA97CFB590B2093"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"fixedColor": "blue",
|
||||||
|
"mode": "shades"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 3,
|
||||||
|
"w": 3,
|
||||||
|
"x": 3,
|
||||||
|
"y": 4
|
||||||
|
},
|
||||||
|
"id": 38,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "background",
|
||||||
|
"graphMode": "none",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto",
|
||||||
|
"wideLayout": true
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.2.3",
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": {
|
||||||
@ -352,8 +421,8 @@
|
|||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 3,
|
"h": 3,
|
||||||
"w": 4,
|
"w": 3,
|
||||||
"x": 4,
|
"x": 6,
|
||||||
"y": 4
|
"y": 4
|
||||||
},
|
},
|
||||||
"id": 11,
|
"id": 11,
|
||||||
@ -421,8 +490,8 @@
|
|||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 3,
|
"h": 3,
|
||||||
"w": 4,
|
"w": 3,
|
||||||
"x": 8,
|
"x": 9,
|
||||||
"y": 4
|
"y": 4
|
||||||
},
|
},
|
||||||
"id": 12,
|
"id": 12,
|
||||||
@ -639,7 +708,7 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_indexed\"}",
|
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"legendFormat": "{{__name__}}",
|
"legendFormat": "{{__name__}}",
|
||||||
@ -656,7 +725,7 @@
|
|||||||
"binary": {
|
"binary": {
|
||||||
"left": "latest_upstream_block_number",
|
"left": "latest_upstream_block_number",
|
||||||
"operator": "-",
|
"operator": "-",
|
||||||
"right": "sync_status_block_number"
|
"right": "last_processed_block_number"
|
||||||
},
|
},
|
||||||
"mode": "binary",
|
"mode": "binary",
|
||||||
"reduce": {
|
"reduce": {
|
||||||
@ -750,7 +819,7 @@
|
|||||||
"uid": "PBFA97CFB590B2093"
|
"uid": "PBFA97CFB590B2093"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sync_status_block_number{job=~\"$job\", instance=~\"$watcher\", kind=\"latest_indexed\"}",
|
"expr": "last_processed_block_number{job=~\"$job\", instance=~\"$watcher\"}",
|
||||||
"hide": false,
|
"hide": false,
|
||||||
"instant": false,
|
"instant": false,
|
||||||
"legendFormat": "{{__name__}}",
|
"legendFormat": "{{__name__}}",
|
||||||
@ -767,7 +836,7 @@
|
|||||||
"binary": {
|
"binary": {
|
||||||
"left": "latest_block_number",
|
"left": "latest_block_number",
|
||||||
"operator": "-",
|
"operator": "-",
|
||||||
"right": "sync_status_block_number"
|
"right": "last_processed_block_number"
|
||||||
},
|
},
|
||||||
"mode": "binary",
|
"mode": "binary",
|
||||||
"reduce": {
|
"reduce": {
|
||||||
@ -3215,6 +3284,6 @@
|
|||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "Watchers",
|
"title": "Watchers",
|
||||||
"version": 4,
|
"version": 5,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user