mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 23:01:01 +00:00
Add a Prometheus alert on no incoming connection (#7517)
This commit is contained in:
@@ -108,6 +108,13 @@ groups:
|
|||||||
annotations:
|
annotations:
|
||||||
message: 'The node {{ $labels.instance }} has less than 3 peers for more
|
message: 'The node {{ $labels.instance }} has less than 3 peers for more
|
||||||
than 15 minutes'
|
than 15 minutes'
|
||||||
|
- alert: NoIncomingConnection
|
||||||
|
expr: increase(polkadot_sub_libp2p_incoming_connections_total[20m]) == 0
|
||||||
|
labels:
|
||||||
|
severity: warning
|
||||||
|
annotations:
|
||||||
|
message: 'The node {{ $labels.instance }} has not received any new incoming
|
||||||
|
TCP connection in the past 20 minutes. Is it connected to the Internet?'
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# System
|
# System
|
||||||
|
|||||||
Reference in New Issue
Block a user