Struct zipkin::BinaryAnnotation [] [src]

pub struct BinaryAnnotation { /* fields omitted */ }

A BinaryAnnotation represents extra information about a Span.

It consists of a key/value pair of information, and an optional Endpoint identifying the service in which the BinaryAnnotation was generated.

Zipkin defines a number of "standard" keys:

  • lc - "Local Component": Used to identify local spans - those that do not involve a remote request to another service.

Arbitrary user-defined keys can also be used.

Methods

impl BinaryAnnotation
[src]

Returns a builder used to construct a BinaryAnnotation.

Returns the binary annotation's key.

Returns the binary annotation's value.

Returns the endpoint on which the binary annotation was generated.

Trait Implementations

impl Debug for BinaryAnnotation
[src]

Formats the value using the given formatter.