pub struct JaegerCompactReporter(_);
Expand description

Reporter for the agent which accepts jaeger.thrift over compact thrift protocol.

Implementations

Makes a new JaegerCompactReporter instance.

Errors

If the UDP socket used to report spans can not be bound to 127.0.0.1:0, it will return an error which has the kind ErrorKind::Other.

Sets the address of the report destination agent to addr.

The default address is 127.0.0.1:6831.

Adds tag to this service.

Reports spans.

Errors

If it fails to encode spans to the thrift compact format (i.e., a bug of this crate), this method will return an error which has the kind ErrorKind::InvalidInput.

If it fails to send the encoded binary to the jaeger agent via UDP, this method will return an error which has the kind ErrorKind::Other.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.