Enum zipkin::Kind
[−]
[src]
pub enum Kind { Client, Server, Producer, Consumer, // some variants omitted }
The "kind" of a span.
This has an impact on the relationship between the span's timestamp, duration, and local endpoint.
Variants
Client
The client side of an RPC.
- Timestamp - The moment a request was sent (formerly "cs")
- Duration - When present, indicates when a response was received (formerly "cr")
- Remote Endpoint - Represents the server.
Server
The server side of an RPC.
- Timestamp - The moment a request was received (formerly "sr")
- Duration - When present, indicates when a response was received (formerly "ss")
- Remote Endpoint - Represents the client.
Producer
A message sent to a message broker.
- Timestamp - The moment a message was sent to a destination (formerly "ms")
- Duration - When present, represents the delay sending the message, such as batching.
- Remote Endpoint - Represents the broker.
Consumer
A message received from a message broker.
- Timestamp - The moment a message was received from an origin (formerly "mr")
- Duration - When present, represents the delay consuming the message, such as from a backlog.
- Remote Endpoint - Represents the broker.
Trait Implementations
impl Debug for Kind
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more