module Trace::Span::Kind
Constants
- CLIENT
- CONSUMER
When present, “timestamp” is the moment a consumer received a message from an origin. “duration” represents delay consuming the message, such as from backlog, while “remote_endpoint” indicates the origin, such as a broker.
Unlike
SERVER
, messaging spans never share a span ID. For example, thePRODUCER
of this message is the “parent_id” of this span.- PRODUCER
When present, “timestamp” is the moment a producer sent a message to a destination. “duration” represents delay sending the message, such as batching, while “remote_endpoint” indicates the destination, such as a broker.
Unlike
CLIENT
, messaging spans never share a span ID. For example, theCONSUMER
of the same message has “parent_id” set to this span's id.- SERVER