go-libp2p/p2p/host/eventbus
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
..
basic.go use atomic.Int32 and atomic.Int64 (#2096) 2023-02-14 12:52:55 -08:00
basic_metrics.go metrics: add options to disable metrics and to set Prometheus registerer (#2116) 2023-02-20 22:48:17 -08:00
basic_metrics_test.go metrics: add no alloc metrics for eventbus, swarm, identify (#2108) 2023-02-16 19:57:44 -08:00
basic_test.go use atomic.Int32 and atomic.Int64 (#2096) 2023-02-14 12:52:55 -08:00
opts.go use atomic.Int32 and atomic.Int64 (#2096) 2023-02-14 12:52:55 -08:00