| Package | Description |
|---|---|
| com.lightstep.tracer.shared |
| Modifier and Type | Method and Description |
|---|---|
Options.OptionsBuilder |
Options.OptionsBuilder.withAccessToken(String accessToken)
Sets the unique identifier for this application.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withClockSkewCorrection(boolean clockCorrection) |
Options.OptionsBuilder |
Options.OptionsBuilder.withCollectorClient(Options.CollectorClient collectorClient)
Sets the collector client explicitly.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withCollectorHost(String collectorHost)
Sets the host to which the tracer will send data.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withCollectorPort(int collectorPort)
Sets the port to which the tracer will send data.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withCollectorProtocol(String protocol)
Sets the protocol which will be used when sending data to the tracer.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withComponentName(String name)
Sets the component name attribute.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withDeadlineMillis(long deadlineMillis)
Overrides the default deadlineMillis with the provided value.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withDisableMetaEventLogging(boolean disableMetaEventLogging)
Disables LightStep Meta Event Reporting
even if a server command requested it.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withDisableMetricsReporting(boolean disable)
If true, metrics reporting will be disabled.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withDisableReportingLoop(boolean disable)
If true, the background reporting loop will be disabled.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withDropSpansOnFailure(boolean dropSpansOnFailure)
Instructs the Tracer to either to drop Spans for failed requests
or else do a best effort to keep them in the current buffer.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withGrpcCollectorTarget(String grpcCollectorTarget)
Sets the target address when using gRPC for transport.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withGrpcRoundRobin(boolean grpcRoundRobin)
Instructs gRPC to round-robin between satellites instances in a pool when sending traces.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withHostname(String hostname)
Sets the hostname.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withMaxBufferedSpans(int maxBufferedSpans)
Sets the maximum number of finished Spans buffered locally before flushing.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withMaxReportingIntervalMillis(int maxReportingIntervalMillis)
Sets the maximum interval between reports.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withMetricsUrl(String metricsUrl)
Uses the specified value as the metrics collector url.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withOkHttpDns(Options.OkHttpDns okhttpDns)
Sets the DNS service used to lookup IP addresses for hostnames when using the
OkHttp transport.
|
<T> Options.OptionsBuilder |
Options.OptionsBuilder.withPropagator(io.opentracing.propagation.Format<T> format,
Propagator propagator)
Adds a user defined
Propagator to be used during
Tracer.inject(io.opentracing.SpanContext, io.opentracing.propagation.Format<C>, C) and Tracer.extract(io.opentracing.propagation.Format<C>, C) for
the given type. |
Options.OptionsBuilder |
Options.OptionsBuilder.withResetClient(boolean reset)
If true, the GRPC client connection will be reset at regular intevals
Used to load balance on server side
|
Options.OptionsBuilder |
Options.OptionsBuilder.withResetSpansOnConsecutiveFailures(int resetSpansOnConsecutiveFailures)
Instructs the Tracer to reset the span buffer after n-number of consecutive
failures retryng unsuccesful requests.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withScopeManager(io.opentracing.ScopeManager scopeManager)
Sets scope manager attribute.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withServiceVersion(String serviceVersion)
Sets the service version.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withTag(String key,
Object value)
Sets a user-defined key-value pair that should be associated with all of the
data produced by this tracer.
|
Options.OptionsBuilder |
Options.OptionsBuilder.withVerbosity(int verbosity)
Controls the amount of local output produced by the tracer.
|
Copyright © 2023 LightStep. All rights reserved.