Skip to content

Commit

Permalink
Publish
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Jan 20, 2024
1 parent c6ff5a5 commit df4016b
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions dist/rules/graph-node/embedded-exporter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,56 @@ groups:

rules:

- alert: ProviderNetVersionFailed
- alert: ProviderFailedBecauseNet_versionFailed
expr: 'eth_rpc_status == 1'
for: 0m
labels:
severity: critical
annotations:
summary: Provider net_version failed (provider {{$labels.provider}}, node {{$labels.instance}})
description: "Failed net_version for Provider {{$labels.provider}} in Graph node {{$labels.instance}}"
summary: Provider failed because net_version failed (instance {{ $labels.instance }})
description: "Failed net_version for Provider `{{$labels.provider}}` in Graph node `{{$labels.instance}}`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: ProviderGetGenesisFailed
- alert: ProviderFailedBecauseGetGenesisFailed
expr: 'eth_rpc_status == 2'
for: 0m
labels:
severity: critical
annotations:
summary: Provider get genesis failed (provider {{$labels.provider}}, node {{$labels.instance}})
description: "Failed to get genesis for Provider {{$labels.provider}} in Graph node {{$labels.instance}}"
summary: Provider failed because get genesis failed (instance {{ $labels.instance }})
description: "Failed to get genesis for Provider `{{$labels.provider}}` in Graph node `{{$labels.instance}}`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: ProviderNetVersionTimeout
- alert: ProviderFailedBecauseNet_versionTimeout
expr: 'eth_rpc_status == 3'
for: 0m
labels:
severity: critical
annotations:
summary: Provider net_version timeout (provider {{$labels.provider}}, node {{$labels.instance}})
description: "net_version timeout for Provider {{$labels.provider}} in Graph node {{$labels.instance}}"
summary: Provider failed because net_version timeout (instance {{ $labels.instance }})
description: "net_version timeout for Provider `{{$labels.provider}}` in Graph node `{{$labels.instance}}`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: ProviderGetGenesisTimeout
- alert: ProviderFailedBecauseGetGenesisTimeout
expr: 'eth_rpc_status == 4'
for: 0m
labels:
severity: critical
annotations:
summary: Provider get genesis timeout (provider {{$labels.provider}}, node {{$labels.instance}})
description: "Timeout to get genesis for Provider {{$labels.provider}} in Graph node {{$labels.instance}}"
summary: Provider failed because get genesis timeout (instance {{ $labels.instance }})
description: "Timeout to get genesis for Provider `{{$labels.provider}}` in Graph node `{{$labels.instance}}`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: StoreConnectionSlow
- alert: StoreConnectionIsTooSlow
expr: 'store_connection_wait_time_ms > 10'
for: 1m
for: 0m
labels:
severity: warning
annotations:
summary: Store connection is slow (pool {{$labels.pool}}, shard {{$labels.shard}}, node {{$labels.instance}})
description: "Store connection is slow to {{$labels.pool}} pool, {{$labels.shard}} shard in Graph node {{$labels.instance}}"
summary: Store connection is too slow (instance {{ $labels.instance }})
description: "Store connection is too slow to `{{$labels.pool}}` pool, `{{$labels.shard}}` shard in Graph node `{{$labels.instance}}`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

- alert: StoreConnectionTooSlow
- alert: StoreConnectionIsTooSlow
expr: 'store_connection_wait_time_ms > 20'
for: 1m
for: 0m
labels:
severity: critical
annotations:
summary: Store connection is too slow (pool {{$labels.pool}}, shard {{$labels.shard}}, node {{$labels.instance}})
description: "Store connection is too slow to {{$labels.pool}} pool, {{$labels.shard}} shard in Graph node {{$labels.instance}}"
summary: Store connection is too slow (instance {{ $labels.instance }})
description: "Store connection is too slow to `{{$labels.pool}}` pool, `{{$labels.shard}}` shard in Graph node `{{$labels.instance}}`\n VALUE = {{ $value }}\n LABELS = {{ $labels }}"

0 comments on commit df4016b

Please sign in to comment.