Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MessageEvent

Package version

An event describing a message sent/received between Spans.

Hierarchy

  • MessageEvent

Index

Properties

Optional compressedSize

compressedSize: undefined | number

The number of compressed bytes sent or received. If zero or undefined, assumed to be the same size as uncompressed.

id

id: number

An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. Message event ids should start with 1 for both sent and received messages and increment by 1 for each message sent/received.

timestamp

timestamp: number

A timestamp for the event.

type

Indicates whether the message was sent or received.

Optional uncompressedSize

uncompressedSize: undefined | number

The number of uncompressed bytes sent or received.

Generated using TypeDoc