Module kitsune_p2p::metrics

source ·
Expand description

metrics tracked by kitsune_p2p spaces

Structs§

  • Metrics about a completed gossip round
  • Metrics about an ongoing gossip round
  • Metrics tracking for remote nodes to help choose which remote node to initiate the next round with.
  • Synchronization primitive around the Metrics struct.
  • The history of gossip with an agent on a remote node. We record metrics per agent,
  • Detailed info about the history of gossip with this node
  • Info about a completed gossip round
  • Running average that prioritizes memory and cpu efficiency over strict accuracy. For metrics where we can’t afford the memory of tracking samples for every remote we might talk to, this running average is accurate enough and uses only 5 bytes of memory.

Enums§