Check out the Issue Explorer
Looking to fund some work? You can submit a new Funded Issue here.
Create and add a p2p middleware adapter to increment monitoring metrics counters via [prometheus](https://github.com/prometheus).
Some of the requirements to close this issue:
- [ ] Brief design on what metrics are interesting to monitor
- [ ] An easily reusable p2p middleware adapter to monitor incoming and outgoing p2p messages
- [ ] Exposing metrics to prometheus via HTTP server (preferrably something like :8080/metrics). This port should be configurable via flag `--monitoring-port`.
- [ ] Add flag to disable metrics monitoring `--disable-monitoring`.
If there are more requirements discovered in the design, please add them to the issue in a comment or editing this description.