Index
All Classes and Interfaces|All Packages
B
- build() - Method in class io.opentelemetry.sdk.common.export.RetryPolicy.RetryPolicyBuilder
-
Build and return a
RetryPolicywith the values of this builder. - build() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfoBuilder
-
Return a
InstrumentationScopeInfowith the configuration of this builder. - build() - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Create the
Resourcefrom this. - builder() - Static method in class io.opentelemetry.sdk.common.export.RetryPolicy
-
Returns a new
RetryPolicy.RetryPolicyBuilderto construct aRetryPolicy. - builder() - Static method in class io.opentelemetry.sdk.resources.Resource
-
Returns a new
ResourceBuilderinstance for creating arbitraryResource. - builder(String) - Static method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns a
builderfor 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.
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
CompletableResultCodeunsuccessfully 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
Clockwhich 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.
- getSchemaUrl() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
-
Deprecated.Returns the URL of the schema used by this instrumentation library, or
nullif not available. - getSchemaUrl() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns the URL of the schema used by this instrumentation scope, or
nullif 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
nullif not available. - getVersion() - Method in class io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Returns the version of the instrumentation scope, or
nullif not available.
I
- 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
CompletableResultCodehas 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
CompletableResultCodeto 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
CompletableResultCodethat completes after all the providedCompletableResultCodes complete. - ofFailure() - Static method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Returns a
CompletableResultCodethat has been completed unsuccessfully. - ofSuccess() - Static method in class io.opentelemetry.sdk.common.CompletableResultCode
-
Returns a
CompletableResultCodethat has been completed successfully.
P
- put(AttributeKey<Long>, int) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a
AttributeKeywith associated value into this. - put(AttributeKey<T>, T) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts a
AttributeKeywith 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
Attributesinto this. - putAll(Resource) - Method in class io.opentelemetry.sdk.resources.ResourceBuilder
-
Puts all attributes from
Resourceinto 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
-
Resourcerepresents 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.
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
CompletableResultCodesuccessfully if it is not already completed.
T
- toBuilder() - Method in class io.opentelemetry.sdk.resources.Resource
-
Returns a new
ResourceBuilderinstance 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
InstrumentationScopeInfo.builder(String)orInstrumentationScopeInfo.create(String).