From 21eb73608b6916d0f121db56dfb0e36644d8ff06 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 13 Mar 2024 12:30:33 +0530 Subject: [PATCH] Remove latest indexed block value from watcher alerts data --- .../config/monitoring/watcher-alert-rules.yml | 160 ------------------ .../data/stacks/monitoring/stack.yml | 2 +- 2 files changed, 1 insertion(+), 161 deletions(-) diff --git a/stack_orchestrator/data/config/monitoring/watcher-alert-rules.yml b/stack_orchestrator/data/config/monitoring/watcher-alert-rules.yml index 9df9472f..a190a1fd 100644 --- a/stack_orchestrator/data/config/monitoring/watcher-alert-rules.yml +++ b/stack_orchestrator/data/config/monitoring/watcher-alert-rules.yml @@ -50,22 +50,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="azimuth", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -142,22 +126,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="censures", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -234,22 +202,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="claims", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -326,22 +278,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="conditional_star_release", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -418,22 +354,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="delegated_sending", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -510,22 +430,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="ecliptic", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -602,22 +506,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="azimuth", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -694,22 +582,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="azimuth", instance="polls", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -788,22 +660,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="sushi", instance="sushiswap", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 @@ -880,22 +736,6 @@ groups: legendFormat: __auto range: false refId: latest_external - - refId: latest_indexed - relativeTimeRange: - from: 600 - to: 0 - datasourceUid: PBFA97CFB590B2093 - model: - datasource: - type: prometheus - uid: PBFA97CFB590B2093 - editorMode: code - expr: sync_status_block_number{job="sushi", instance="merkl_sushiswap", kind="latest_indexed"} - hide: false - instant: true - legendFormat: __auto - range: false - refId: latest_indexed - refId: condition relativeTimeRange: from: 600 diff --git a/stack_orchestrator/data/stacks/monitoring/stack.yml b/stack_orchestrator/data/stacks/monitoring/stack.yml index 058ca971..48605dc3 100644 --- a/stack_orchestrator/data/stacks/monitoring/stack.yml +++ b/stack_orchestrator/data/stacks/monitoring/stack.yml @@ -1,7 +1,7 @@ version: "0.1" name: monitoring repos: - - github.com/cerc-io/watcher-ts@v0.2.79 + - github.com/cerc-io/watcher-ts@v0.2.81 containers: - cerc/watcher-ts pods: