Index
All Classes and Interfaces|All Packages
B
- build() - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Create the
Resource
from this. - builder() - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns a new
ResourceBuilder
instance for creating arbitraryResource
.
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, String) - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Creates a new instance of
InstrumentationLibraryInfo
. - create(String, String, String) - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Creates a new instance of
InstrumentationLibraryInfo
.
E
- empty() - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Returns an "empty"
InstrumentationLibraryInfo
. - 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.resources.Resource
-
Returns a map of attributes that describe the resource.
- 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.resources.Resource
-
Returns the default
Resource
. - getName() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Returns the name of the instrumentation library.
- getSchemaUrl() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Returns the URL of the schema used by this instrumentation library, 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
-
Returns the version of the instrumentation library, or
null
if not available.
I
- InstrumentationLibraryInfo - Class in io.opentelemetry.sdk.common
-
Holds information about the instrumentation library specified when creating an instance of
Tracer
using the Tracer Provider. - io.opentelemetry.sdk.common - package io.opentelemetry.sdk.common
-
Common utilities used by all SDK components.
- 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
- 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.
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
- 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
- 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
S
- setSchemaUrl(String) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Assign an OpenTelemetry schema URL to the resulting Resource.
- 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.resources.Resource
-
Returns a new
ResourceBuilder
instance populated with the data of thisResource
.
W
- whenComplete(Runnable) - Method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Perform an action on completion.
All Classes and Interfaces|All Packages