Skip to content
Snippets Groups Projects
Commit 9e84a540 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

Add a Prometheus alert on no incoming connection (#7517)

parent e7ac2656
No related merge requests found
......@@ -108,6 +108,13 @@ groups:
annotations:
message: 'The node {{ $labels.instance }} has less than 3 peers for more
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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment