celestia-node
celestia-node copied to clipboard
improvement(share/p2p/middleware): add additional metrics
Additional metrics can be added to the shrex middleware such as response time and current load. For this, the cleaner way would be to pass a function that does the observing, rather than exposing access to the internal state of Middleware
.