Class JaegerRemoteSampler

  • All Implemented Interfaces:
    io.opentelemetry.sdk.trace.samplers.Sampler

    public final class JaegerRemoteSampler
    extends Object
    implements io.opentelemetry.sdk.trace.samplers.Sampler
    Remote sampler that gets sampling configuration from remote Jaeger server.
    • Method Detail

      • shouldSample

        public io.opentelemetry.sdk.trace.samplers.SamplingResult shouldSample​(io.opentelemetry.context.Context parentContext,
                                                                               String traceId,
                                                                               String name,
                                                                               io.opentelemetry.api.trace.SpanKind spanKind,
                                                                               io.opentelemetry.api.common.Attributes attributes,
                                                                               List<io.opentelemetry.sdk.trace.data.LinkData> parentLinks)
        Specified by:
        shouldSample in interface io.opentelemetry.sdk.trace.samplers.Sampler
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface io.opentelemetry.sdk.trace.samplers.Sampler