logo
pub struct JaegerRemoteSamplerBuilder<C, S, R>where
    R: TraceRuntime,
    C: HttpClient + 'static,
    S: ShouldSample + 'static,
{ /* private fields */ }
Available on crate feature trace only.
Expand description

builder of JaegerRemoteSampler. See Sampler::jaeger_remote for details.

Implementations

Available on crate feature jaeger_remote_sampler only.

Change how often the SDK should fetch the sampling strategy from remote servers

By default it fetches every 5 minutes.

A shorter interval have a performance overhead and should be avoid.

Available on crate feature jaeger_remote_sampler only.

The endpoint of remote servers.

By default it’s http://localhost:5778/sampling.

If the service name is provided as part of the

Available on crate feature jaeger_remote_sampler only.

The size of the leaky bucket.

It’s used when sampling strategy is rate limiting.

Available on crate feature jaeger_remote_sampler only.

Build a jaeger remote sampler.

Return errors when the endpoint provided is invalid(e.g, service name is empty)

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.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more

Attaches the current Context to this type, returning a WithContext wrapper. Read more

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.