Use a single multi-dimensional alert rule for all subgraphs
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 49s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m33s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m53s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m37s
Smoke Test / Run basic test suite (pull_request) Successful in 6m18s
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 49s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m33s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m53s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m37s
Smoke Test / Run basic test suite (pull_request) Successful in 6m18s
This commit is contained in:
parent
ce34876b0e
commit
b0501fddeb
@ -6,23 +6,9 @@ groups:
|
|||||||
interval: 30s
|
interval: 30s
|
||||||
rules:
|
rules:
|
||||||
- uid: b2a9144b-6104-46fc-92b5-352f4e643c4c
|
- uid: b2a9144b-6104-46fc-92b5-352f4e643c4c
|
||||||
title: sushiswap_v3_subgraph_head_tracking
|
title: subgraph_head_tracking
|
||||||
condition: condition
|
condition: condition
|
||||||
data:
|
data:
|
||||||
- refId: latest_head
|
|
||||||
relativeTimeRange:
|
|
||||||
from: 600
|
|
||||||
to: 0
|
|
||||||
datasourceUid: PBFA97CFB590B2093
|
|
||||||
model:
|
|
||||||
editorMode: code
|
|
||||||
expr: ethereum_chain_head_number{job="graph-node", network="filecoin"}
|
|
||||||
instant: true
|
|
||||||
intervalMs: 1000
|
|
||||||
legendFormat: __auto
|
|
||||||
maxDataPoints: 43200
|
|
||||||
range: false
|
|
||||||
refId: latest_head
|
|
||||||
- refId: diff
|
- refId: diff
|
||||||
relativeTimeRange:
|
relativeTimeRange:
|
||||||
from: 600
|
from: 600
|
||||||
@ -33,7 +19,7 @@ groups:
|
|||||||
type: prometheus
|
type: prometheus
|
||||||
uid: PBFA97CFB590B2093
|
uid: PBFA97CFB590B2093
|
||||||
editorMode: code
|
editorMode: code
|
||||||
expr: ethereum_chain_head_number - on(network) group_right deployment_head{deployment="QmRPQM4ZtRJYr8WiNdg6oqKRNQHHXv5rZrD4gzqQrJpPhz"}
|
expr: ethereum_chain_head_number - on(network) group_right deployment_head{}
|
||||||
instant: true
|
instant: true
|
||||||
intervalMs: 1000
|
intervalMs: 1000
|
||||||
legendFormat: __auto
|
legendFormat: __auto
|
||||||
@ -74,6 +60,5 @@ groups:
|
|||||||
for: 5m
|
for: 5m
|
||||||
annotations:
|
annotations:
|
||||||
summary: Subgraph deployment {{ index $labels "deployment" }} is falling behind head by {{ index $values "diff" }}
|
summary: Subgraph deployment {{ index $labels "deployment" }} is falling behind head by {{ index $values "diff" }}
|
||||||
labels:
|
labels: {}
|
||||||
latest_head: '{{ index $values "latest_head" }}'
|
|
||||||
isPaused: false
|
isPaused: false
|
||||||
|
Loading…
Reference in New Issue
Block a user