Commit Graph

3 Commits

Author SHA1 Message Date
Sukun a491074d89
metrics: add options to disable metrics and to set Prometheus registerer (#2116)
* provided a WithRegisterer option for metrics

* provide a libp2p.Option to setup metrics
2023-02-20 22:48:17 -08:00
Marten Seemann 5f8fe94f90
identify: add some basic metrics (#2069) 2023-02-09 16:33:35 +11:00
Marten Seemann 31966fbb05
metrics: use a single slice pool for all metrics tracer (#2054) 2023-02-07 09:18:54 +13:00