public final class Options extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Options.CollectorClient
Select the client provider explicitly.
|
static interface |
Options.OkHttpDns
A DNS service passed to the OkHttp transport to resolve IP addresses
for hostnames.
|
static class |
Options.OptionsBuilder |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_BUFFERED_SPANS
Default maximum number of Spans buffered locally (a protective mechanism)
|
static int |
VERBOSITY_DEBUG
all internal log statements, including debugging details
|
static int |
VERBOSITY_ERRORS_ONLY
all errors are echoed locally
|
static int |
VERBOSITY_FIRST_ERROR_ONLY
only the first error encountered will be echoed locally
|
static int |
VERBOSITY_INFO
all errors, warnings, and info statements are echoed locally
|
static int |
VERBOSITY_NONE
never produce local output
|
| Modifier and Type | Method and Description |
|---|---|
Options |
disableResetClient()
Provided so implementations of AbstractTracer can turn off resetClient by default.
|
Options |
setDefaultReportingIntervalMillis(int value)
If this instance of Options has an overridden maxReportingIntervalMillis, returns this
instance of Options with that value.
|
public static final int DEFAULT_MAX_BUFFERED_SPANS
public static final int VERBOSITY_DEBUG
public static final int VERBOSITY_INFO
public static final int VERBOSITY_ERRORS_ONLY
public static final int VERBOSITY_FIRST_ERROR_ONLY
public static final int VERBOSITY_NONE
public Options setDefaultReportingIntervalMillis(int value)
DEFAULT_REPORTING_INTERVAL_MILLIS
then creates a new instance of Options and overrides maxReportingIntervalMillis with the
provided value.value - A new value for maxReportingIntervalMillis. Will only be used if this Options
object is current set to the default value for maxReportingIntervalMillis.IllegalArgumentException - If this Options object has an malformed collector url.public Options disableResetClient()
Copyright © 2023 LightStep. All rights reserved.