Class JaegerRemoteSamplerBuilder

    • Method Detail

      • setServiceName

        public JaegerRemoteSamplerBuilder setServiceName​(String serviceName)
        Sets the service name to be used by this exporter. Required.
        Parameters:
        serviceName - the service name.
        Returns:
        this.
      • setChannel

        public JaegerRemoteSamplerBuilder setChannel​(io.grpc.ManagedChannel channel)
        Sets the managed channel to use when communicating with the backend. Takes precedence over setEndpoint(String) if both are called.
      • setPollingInterval

        public JaegerRemoteSamplerBuilder setPollingInterval​(int interval,
                                                             TimeUnit unit)
        Sets the polling interval for configuration updates. If unset, defaults to 60000ms. Must be positive.
      • setInitialSampler

        public JaegerRemoteSamplerBuilder setInitialSampler​(io.opentelemetry.sdk.trace.samplers.Sampler initialSampler)
        Sets the initial sampler that is used before sampling configuration is obtained. If unset, defaults to a parent-based ratio-based sampler with a ratio of 0.001.