libp2p / go-libp2p-kad-dht

A Kademlia DHT implementation on go-libp2p
https://github.com/libp2p/specs/tree/master/kad-dht
MIT License
517 stars 221 forks source link

dht: add a prometheus metric for the size of the routing table #847

Open Jorropo opened 1 year ago

Jorropo commented 1 year ago

This is a bit hacky maybe we want to do this through DI ? Would be nice to have this as a per DHT metric.