nim-libp2p-experimental/libp2p
Giovanni Petrantoni b902c030a0
add metrics into chronosstream to identify peers agents (#458)
* add metrics into chronosstream to identify peers agents

* avoid too many agent strings

* use gauge instead of counter for stream metrics

* filter identity on /

* also track bytes traffic

* fix identity tracking closeimpl call

* add gossip rpc metrics

* fix missing metrics inclusions

* metrics fixes and additions

* add a KnownLibP2PAgents strdefine

* enforse toLowerAscii to agent names (metrics)

* incoming rpc metrics

* fix silly mistake in rpc metrics

* fix agent metrics logic

* libp2p_gossipsub_failed_publish metric

* message ids metrics

* libp2p_pubsub_broadcast_ihave metric improvement

* refactor expensive gossip metrics

* more detailed metrics

* metrics improvements

* remove generic metrics for `set` users

* small fixes, add debug counters

* fix counter and add missing subs metrics!

* agent metrics behind -d:libp2p_agents_metrics

* remove testing related code from this PR

* small rebroadcast metric fix

* fix small mistake

* add some guide to the readme in order to use new metrics

* add libp2p_gossipsub_peers_scores metric

* add protobuf metrics to understand bytes traffic precisely

* refactor gossipsub metrics

* remove unused variable

* add more metrics, refactor rebalance metrics

* avoid bad metric concurrent states

* use a stack structure for gossip mesh metrics

* refine sub metrics

* add received subs metrics fixes

* measure handlers of known topics

* sub/unsub counter

* unsubscribeAll log unknown topics

* expose a way to specify known topics at runtime
2021-01-08 14:21:24 +09:00
..
crypto Rm bearssl + Deactivate Travis completely (#477) 2020-12-10 14:19:27 +01:00
daemon Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00
muxers streamline socket read/write hot path (#473) 2020-12-09 08:56:40 -06:00
protobuf Add `libp2p_dump` and `libp2p_dump_dir` compiler time options. (#359) 2020-09-15 11:16:43 +02:00
protocols add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
stream add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
transports Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
utils Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
cid.nim first pass, use results for Cid module (#480) 2020-12-15 14:19:18 +01:00
connmanager.nim Concurrent upgrades (#489) 2021-01-04 12:59:05 -06:00
debugutils.nim fix debugutils (#423) 2020-11-04 19:56:28 -06:00
errors.nim warn -> debug log levels in errors.nim 2020-08-20 16:53:28 +09:00
multiaddress.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
multibase.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
multicodec.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
multihash.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
multistream.nim adding libp2p tag to logScope (#465) 2020-12-01 11:34:27 -06:00
peerid.nim clean up peerid (#470) 2020-12-03 13:53:16 -06:00
peerinfo.nim simplify and unify logging (#353) 2020-09-06 10:31:47 +02:00
standard_setup.nim mplex fixes (#362) 2020-09-14 10:19:54 +02:00
switch.nim improving connection estblishing metrics (#500) 2021-01-07 17:06:41 -06:00
transcoder.nim add side effect annotations (#197) 2020-06-01 09:25:16 +02:00
utility.nim add metrics into chronosstream to identify peers agents (#458) 2021-01-08 14:21:24 +09:00
varint.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
vbuffer.nim use stew/leb128 (#481) 2020-12-15 12:15:22 -06:00
wire.nim Rework transport to use chronos accept (#420) 2020-11-18 20:06:42 -06:00