• Peter Mrekaj's avatar
    feat(kademlia): extend information kept about peers (#1658) · a7c05c20
    Peter Mrekaj authored
    The following extended metrics information are exposed through
    the debug API:
    - last seen timestamp - updated every time when the peer
    connects/disconnects
    - connection total duration - sums of the duration of the sessions
      (in seconds)
    - session connection retry count - number of attempts to create
      a new connection
    - session connection duration - duration (in seconds) of last or
      current (if in progress) session
    - session connection direction - specifies whether the connection is
      outbound or inbound
    a7c05c20
Name
Last commit
Last update
..
db.go Loading commit data...
db_test.go Loading commit data...
example_store_test.go Loading commit data...
field_string.go Loading commit data...
field_string_test.go Loading commit data...
field_struct.go Loading commit data...
field_struct_test.go Loading commit data...
field_uint64.go Loading commit data...
field_uint64_test.go Loading commit data...
index.go Loading commit data...
index_test.go Loading commit data...
metrics.go Loading commit data...
schema.go Loading commit data...
schema_test.go Loading commit data...
vector_uint64.go Loading commit data...
vector_uint64_test.go Loading commit data...