Update watcher dashboard and config templates #835

Merged
ashwin merged 11 commits from deep-stack/stack-orchestrator:pm-update-watcher-stacks into main 2024-06-12 11:52:52 +00:00
Showing only changes of commit c72cab736f - Show all commits

View File

@ -282,7 +282,7 @@
},
"gridPos": {
"h": 3,
"w": 4,
"w": 3,
"x": 0,
"y": 4
},
@ -303,6 +303,75 @@
"wideLayout": true
},
"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": [
{
"datasource": {
@ -352,8 +421,8 @@
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"w": 3,
"x": 6,
"y": 4
},
"id": 11,
@ -421,8 +490,8 @@
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"w": 3,
"x": 9,
"y": 4
},
"id": 12,
@ -639,7 +708,7 @@
"uid": "PBFA97CFB590B2093"
},
"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,
"instant": false,
"legendFormat": "{{__name__}}",
@ -656,7 +725,7 @@
"binary": {
"left": "latest_upstream_block_number",
"operator": "-",
"right": "sync_status_block_number"
"right": "last_processed_block_number"
},
"mode": "binary",
"reduce": {
@ -750,7 +819,7 @@
"uid": "PBFA97CFB590B2093"
},
"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,
"instant": false,
"legendFormat": "{{__name__}}",
@ -767,7 +836,7 @@
"binary": {
"left": "latest_block_number",
"operator": "-",
"right": "sync_status_block_number"
"right": "last_processed_block_number"
},
"mode": "binary",
"reduce": {
@ -3215,6 +3284,6 @@
"timepicker": {},
"timezone": "",
"title": "Watchers",
"version": 4,
"version": 5,
"weekStart": ""
}