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 Copy for Kind
[src]
impl Clone for Kind
[src]
fn clone(&self) -> Kind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more