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

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.

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.

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.

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]

[src]

Formats the value using the given formatter. Read more

impl Copy for Kind
[src]

impl Clone for Kind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Kind

impl Sync for Kind