Index
All Classes and Interfaces|All Packages
B
- build() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy.RetryPolicyBuilder
-
Build and return a
RetryPolicy
with the values of this builder. - build() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
-
Return a
InstrumentationScopeInfo
with the configuration of this builder. - build() - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Create the
Resource
from this. - builder() - Static method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns a new
RetryPolicy.RetryPolicyBuilder
to construct aRetryPolicy
. - builder() - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns a new
ResourceBuilder
instance for creating arbitraryResource
. - builder(String) - Static method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns a
builder
for aInstrumentationScopeInfo
.
C
- Clock - Interface in io.opentelemetry.sdk.common
-
Interface for getting the current time.
- CompletableResultCode - Class in io.opentelemetry.sdk.common
-
This class models JDK 8's CompletableFuture to afford migration should Open Telemetry's SDK select JDK 8 or greater as a baseline, and also to offer familiarity to developers.
- CompletableResultCode() - Constructor for class io.opentelemetry.sdk.common.CompletableResultCode
- create(Attributes) - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns a
Resource
. - create(Attributes, String) - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns a
Resource
. - create(String) - Static method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Creates a new instance of
InstrumentationScopeInfo
. - create(String, String) - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Creates a new instance of
InstrumentationLibraryInfo
. - create(String, String, String) - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Creates a new instance of
InstrumentationLibraryInfo
. - create(String, String, String) - Static method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Deprecated.
- create(InetSocketAddress) - Static method in class io.opentelemetry.sdk.common.export.ProxyOptions
-
Create proxy options with a
ProxySelector
which always uses anProxy.Type.HTTP
proxy with thesocketAddress
. - create(ProxySelector) - Static method in class io.opentelemetry.sdk.common.export.ProxyOptions
-
Create proxy options with the
proxySelector
.
E
- empty() - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Returns an "empty"
InstrumentationLibraryInfo
. - empty() - Static method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns an "empty"
InstrumentationScopeInfo
. - empty() - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns an empty
Resource
.
F
- fail() - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Complete this
CompletableResultCode
unsuccessfully if it is not already completed.
G
- getAttribute(AttributeKey<T>) - Method in class io.opentelemetry.sdk.resources.Resource
-
Returns the value for a given resource attribute key.
- getAttributes() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns the attributes of this instrumentation scope.
- getAttributes() - Method in class io.opentelemetry.sdk.resources.Resource
-
Returns a map of attributes that describe the resource.
- getBackoffMultiplier() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns the backoff multiplier.
- getDefault() - Static method in interface io.opentelemetry.sdk.common.Clock
-
Returns a default
Clock
which reads from system time. - getDefault() - Static method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Return the default
RetryPolicy
. - getDefault() - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns the default
Resource
. - getInitialBackoff() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns the initial backoff.
- getMaxAttempts() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns the max number of attempts, including the original request.
- getMaxBackoff() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns the max backoff.
- getName() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Returns the name of the instrumentation library.
- getName() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns the name of the instrumentation scope.
- getProxySelector() - Method in class io.opentelemetry.sdk.common.export.ProxyOptions
-
Return the
ProxySelector
. - getSchemaUrl() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Returns the URL of the schema used by this instrumentation library, or
null
if not available. - getSchemaUrl() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns the URL of the schema used by this instrumentation scope, or
null
if not available. - getSchemaUrl() - Method in class io.opentelemetry.sdk.resources.Resource
-
Returns the URL of the OpenTelemetry schema used by this resource.
- getVersion() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Returns the version of the instrumentation library, or
null
if not available. - getVersion() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns the version of the instrumentation scope, or
null
if not available.
I
- IMMUTABLE_DATA - Enum constant in enum io.opentelemetry.sdk.common.export.MemoryMode
-
Uses immutable data structures.
- InstrumentationLibraryInfo - Class in io.opentelemetry.sdk.common
-
Deprecated.
- InstrumentationScopeInfo - Class in io.opentelemetry.sdk.common
-
Holds information about instrumentation scope.
- InstrumentationScopeInfoBuilder - Class in io.opentelemetry.sdk.common
-
A builder for
InstrumentationScopeInfo
. - io.opentelemetry.sdk.common - package io.opentelemetry.sdk.common
-
Common utilities used by all SDK components.
- io.opentelemetry.sdk.common.export - package io.opentelemetry.sdk.common.export
-
Common utilities used by SDK exporters.
- io.opentelemetry.sdk.resources - package io.opentelemetry.sdk.resources
-
API for resource information population.
- isDone() - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Returns whether this
CompletableResultCode
has completed. - isSuccess() - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Obtain the current state of completion.
J
- join(long, TimeUnit) - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Waits up to the specified amount of time for this
CompletableResultCode
to complete.
M
- MemoryMode - Enum in io.opentelemetry.sdk.common.export
-
The memory semantics of the SDK.
- merge(Resource) - Method in class io.opentelemetry.sdk.resources.Resource
N
- nanoTime() - Method in interface io.opentelemetry.sdk.common.Clock
-
Returns a time measurement with nanosecond precision that can only be used to calculate elapsed time.
- now() - Method in interface io.opentelemetry.sdk.common.Clock
-
Returns the current epoch timestamp in nanos from this clock.
- now(boolean) - Method in interface io.opentelemetry.sdk.common.Clock
-
Returns the current epoch timestamp in nanos from this clock.
O
- ofAll(Collection<CompletableResultCode>) - Static method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Returns a
CompletableResultCode
that completes after all the providedCompletableResultCode
s complete. - ofFailure() - Static method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Returns a
CompletableResultCode
that has been completed unsuccessfully. - ofSuccess() - Static method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Returns a
CompletableResultCode
that has been completed successfully.
P
- ProxyOptions - Class in io.opentelemetry.sdk.common.export
-
Configuration for proxy settings.
- put(AttributeKey<Long>, int) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a
AttributeKey
with associated value into this. - put(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a
AttributeKey
with associated value into this. - put(String, boolean) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a boolean attribute into this.
- put(String, boolean...) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a Boolean array attribute into this.
- put(String, double) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a double attribute into this.
- put(String, double...) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a Double array attribute into this.
- put(String, long) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a long attribute into this.
- put(String, long...) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a Long array attribute into this.
- put(String, String) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a String attribute into this.
- put(String, String...) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a String array attribute into this.
- putAll(Attributes) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts all
Attributes
into this. - putAll(Resource) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts all attributes from
Resource
into this.
R
- removeIf(Predicate<AttributeKey<?>>) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Remove all attributes that satisfy the given predicate from
Resource
. - Resource - Class in io.opentelemetry.sdk.resources
-
Resource
represents a resource, which capture identifying information about the entities for which signals (stats or traces) are reported. - ResourceBuilder - Class in io.opentelemetry.sdk.resources
- ResourceBuilder() - Constructor for class io.opentelemetry.sdk.resources.ResourceBuilder
- RetryPolicy - Class in io.opentelemetry.sdk.common.export
-
Configuration for exporter exponential retry policy.
- RetryPolicy.RetryPolicyBuilder - Class in io.opentelemetry.sdk.common.export
-
Builder for
RetryPolicy
. - REUSABLE_DATA - Enum constant in enum io.opentelemetry.sdk.common.export.MemoryMode
-
Reuses objects to reduce allocations.
S
- setAttributes(Attributes) - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
-
Set the attributes.
- setBackoffMultiplier(double) - Method in class io.opentelemetry.sdk.common.export.RetryPolicy.RetryPolicyBuilder
-
Set the backoff multiplier.
- setInitialBackoff(Duration) - Method in class io.opentelemetry.sdk.common.export.RetryPolicy.RetryPolicyBuilder
-
Set the initial backoff.
- setMaxAttempts(int) - Method in class io.opentelemetry.sdk.common.export.RetryPolicy.RetryPolicyBuilder
-
Set the maximum number of attempts, including the original request.
- setMaxBackoff(Duration) - Method in class io.opentelemetry.sdk.common.export.RetryPolicy.RetryPolicyBuilder
-
Set the maximum backoff.
- setSchemaUrl(String) - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
-
Set the schema URL.
- setSchemaUrl(String) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Assign an OpenTelemetry schema URL to the resulting Resource.
- setVersion(String) - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
-
Set the version.
- succeed() - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Complete this
CompletableResultCode
successfully if it is not already completed.
T
- toBuilder() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns a
RetryPolicy.RetryPolicyBuilder
reflecting configuration values for thisRetryPolicy
. - toBuilder() - Method in class io.opentelemetry.sdk.resources.Resource
-
Returns a new
ResourceBuilder
instance populated with the data of thisResource
. - toString() - Method in class io.opentelemetry.sdk.common.export.ProxyOptions
V
- valueOf(String) - Static method in enum io.opentelemetry.sdk.common.export.MemoryMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.sdk.common.export.MemoryMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- whenComplete(Runnable) - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Perform an action on completion.
All Classes and Interfaces|All Packages
InstrumentationScopeInfo.builder(String)
orInstrumentationScopeInfo.create(String)
.