Current metrics include libp2p_protocol_streams_total which is a guage of current open protocol streams (with a single label protocol=direction + " " + protocol)
It would be more useful to have separate counter metrics for stream open and stream close. This would allow us to compute total (open - close) as well as rates of open and close.
Current metrics include
libp2p_protocol_streams_totalwhich is a guage of current open protocol streams (with a single label protocol=direction + " " + protocol)It would be more useful to have separate counter metrics for stream open and stream close. This would allow us to compute total (open - close) as well as rates of open and close.