Peer-to-peer Messages and Sessions heading-link-icon

The peer-to-peer layer is responsible for delivering messages between virtual nodes. When these virtual nodes are hosted in separate clusters, the exchange of messages occurs securely through end-to-end authenticated sessions. The following metrics are associated with both the messages and the sessions.

MetricTypeTagsDescription
corda_p2p_message_outboundCounter
  • virtualnode_source
  • virtualnode_destination
  • group
  • subsystem
  • message_type
The number of outbound peer-to-peer data messages sent.
corda_p2p_message_outbound_replayedCounter
  • virtualnode_source
  • virtualnode_destination
  • group
The number of outbound peer-to-peer data messages replayed. Messages are replayed if they are not acknowledged as delivered by the peer within a configurable time window.
corda_p2p_message_outbound_latency_secondsTimer
  • virtualnode_source
  • virtualnode_destination
  • group
  • subsystem
The time it took for an outbound peer-to-peer message to be delivered end-to-end (from initial processing on the sender side to acknowledgement from the recipient side)
corda_p2p_message_outbound_expiredCounter
  • virtualnode_source
  • virtualnode_destination
  • group
  • subsystem
The number of outbound peer-to-peer data messages that were discarded because their TTL expired.
corda_p2p_message_inboundCounter
  • virtualnode_source
  • virtualnode_destination
  • group
  • subsystem
  • message_type
The number of inbound peer-to-peer data messages received.
corda_p2p_session_outbound_timeoutCounter
  • virtualnode_source
  • virtualnode_destination
  • group
The number of outbound peer-to-peer sessions that timed out (indicating communication issues with peers). Health of end-to-end sessions is monitored via heartbeat mechanism. In case of network disruption of process failures on a peer cluster, heartbeats will stop and sessions will be declared unhealthy and replaced with fresh ones.
corda_p2p_session_outboundSettableGaugeNoneThe number of outbound peer-to-peer sessions.
corda_p2p_session_inboundSettableGaugeNoneThe number of inbound peer-to-peer sessions.

Tags:

  • virtualnode_source: The source virtual node The combination of the context of a user and the ephemeral compute instances created to progress a transaction on that identity's behalf. of the message.
  • virtualnode_destination: The destination virtual node of the message.
  • group: The network within which a message is exchanged.
  • subsystem: The upstream component that sent the message.
  • message_type: The type of the message.
Previous
Messaging

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.