Package legume :: Module metrics :: Class Metrics
[frames] | no frames]

Class Metrics

object --+
         |
        Metrics
Known Subclasses:

Instance Methods

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
  latency
Round-trip latency in ms
  out_buffer_bytes
Count of bytes waiting to be transmitted on the wire.
  pending_acks
Packets that have not yet been acknowledged.
  in_bytes
Count of bytes received (header + data).
  out_bytes
Count of bytes recieved (header + data).
  out_messages
Count of messages sent.
  in_messages
Count of messages received.
  in_packets
Count of packets received.
  out_packets
Count of packets sent.
  keepalive_count
Count of keep-alive Ping or Pong messages sent/received.
  reorder_queue
Number of out-of-order messages received that are waiting to be inserted into the message stream.

Inherited from object: __class__

Property Details

latency

Round-trip latency in ms

Get Method:
unreachable.latency(self) - Round-trip latency in ms

out_buffer_bytes

Count of bytes waiting to be transmitted on the wire.

Get Method:
unreachable.out_buffer_bytes(self) - Count of bytes waiting to be transmitted on the wire.

pending_acks

Packets that have not yet been acknowledged.

Get Method:
unreachable.pending_acks(self) - Packets that have not yet been acknowledged.

in_bytes

Count of bytes received (header + data).

Get Method:
unreachable.in_bytes(self) - Count of bytes received (header + data).

out_bytes

Count of bytes recieved (header + data).

Get Method:
unreachable.out_bytes(self) - Count of bytes recieved (header + data).

out_messages

Count of messages sent. Includes connection management messages -
see legume.messages.messages list.

Get Method:
unreachable.out_messages(self) - Count of messages sent.

in_messages

Count of messages received. Includes connection management messages -
see legume.messages.messages list.

Get Method:
unreachable.in_messages(self) - Count of messages received.

in_packets

Count of packets received.

Get Method:
unreachable.in_packets(self) - Count of packets received.

out_packets

Count of packets sent.

Get Method:
unreachable.out_packets(self) - Count of packets sent.

keepalive_count

Count of keep-alive Ping or Pong messages sent/received.

Get Method:
unreachable.keepalive_count(self) - Count of keep-alive Ping or Pong messages sent/received.

reorder_queue

Number of out-of-order messages received that are waiting to be
inserted into the message stream.

Get Method:
unreachable.reorder_queue(self) - Number of out-of-order messages received that are waiting to be inserted into the message stream.