Description
Maru should expose p2p.max-peers config as a metric: maru_p2p_network_peer_limit
Why: to allow setting alerts when maru_p2p_network_peer_count is reaching the limit, especially for edge nodes and let the team take action on it.
Even after discovery is enabled, this may be required to scale horizontally.
Motivation
- Better monitoring and taking preventive action, rather than being reactive when partners complain they can't connect to the network.
Tasks
Acceptance criteria