Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

ABORTED - Static variable in class io.opentelemetry.trace.Status
The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.
add(double, String...) - Method in interface io.opentelemetry.metrics.DoubleCounter
Adds the given increment to the current value.
add(double) - Method in interface io.opentelemetry.metrics.DoubleCounter.BoundDoubleCounter
Adds the given increment to the current value.
add(double, String...) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
Adds the given increment to the current value.
add(double) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.BoundDoubleUpDownCounter
Adds the given increment to the current value.
add(long, String...) - Method in interface io.opentelemetry.metrics.LongCounter
Adds the given increment to the current value.
add(long) - Method in interface io.opentelemetry.metrics.LongCounter.BoundLongCounter
Adds the given increment to the current value.
add(long, String...) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
Adds the given increment to the current value.
add(long) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.BoundLongUpDownCounter
Adds the given increment to the current value.
addEvent(String) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String, long) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String, Map<String, AttributeValue>) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String, Map<String, AttributeValue>, long) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(Event) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(Event, long) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span.
addEvent(String, long) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span.
addEvent(String, Map<String, AttributeValue>) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span.
addEvent(String, Map<String, AttributeValue>, long) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span.
addEvent(Event) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span.
addEvent(Event, long) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span.
addLink(SpanContext) - Method in interface io.opentelemetry.trace.Span.Builder
Adds a Link to the newly created Span.
addLink(SpanContext, Map<String, AttributeValue>) - Method in interface io.opentelemetry.trace.Span.Builder
Adds a Link to the newly created Span.
addLink(Link) - Method in interface io.opentelemetry.trace.Span.Builder
Adds a Link to the newly created Span.
ALREADY_EXISTS - Static variable in class io.opentelemetry.trace.Status
Some entity that we attempted to create (e.g., file or directory) already exists.
arrayAttributeValue(String...) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a String array value.
arrayAttributeValue(Boolean...) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a boolean array value.
arrayAttributeValue(Long...) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a long array value.
arrayAttributeValue(Double...) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a double array value.
asString() - Method in class io.opentelemetry.correlationcontext.EntryValue
Returns the entry value as a String.
AsynchronousInstrument<R> - Interface in io.opentelemetry.metrics
AsynchronousInstrument is an interface that defines a type of instruments that are used to report measurements asynchronously.
AsynchronousInstrument.Builder - Interface in io.opentelemetry.metrics
Builder class for AsynchronousInstrument.
AsynchronousInstrument.Callback<R> - Interface in io.opentelemetry.metrics
A Callback for a AsynchronousInstrument.
AttributeValue - Class in io.opentelemetry.common
A class that represents all the possible values for an attribute.
AttributeValue.Type - Enum in io.opentelemetry.common
An enum that represents all the possible value types for an AttributeValue.

B

BatchRecorder - Interface in io.opentelemetry.metrics
Util class that can be use to atomically record measurements associated with a set of Metrics.
bind(String...) - Method in interface io.opentelemetry.metrics.DoubleCounter
 
bind(String...) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
 
bind(String...) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
 
bind(String...) - Method in interface io.opentelemetry.metrics.LongCounter
 
bind(String...) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
 
bind(String...) - Method in interface io.opentelemetry.metrics.LongValueRecorder
 
bind(String...) - Method in interface io.opentelemetry.metrics.SynchronousInstrument
Returns a Bound Instrument associated with the specified labels.
BooleanAttributeSetter - Class in io.opentelemetry.trace.attributes
Defines the behavior for a span attribute with boolean values.
booleanAttributeValue(boolean) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a boolean value.
build() - Method in interface io.opentelemetry.correlationcontext.CorrelationContext.Builder
Creates a CorrelationContext from this builder.
build() - Method in interface io.opentelemetry.metrics.AsynchronousInstrument.Builder
 
build() - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
 
build() - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
 
build() - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
 
build() - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
 
build() - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
 
build() - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
 
build() - Method in interface io.opentelemetry.metrics.Instrument.Builder
Builds and returns a Instrument with the desired options.
build() - Method in interface io.opentelemetry.metrics.LongCounter.Builder
 
build() - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
 
build() - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
 
build() - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
 
build() - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
 
build() - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
 
build() - Method in interface io.opentelemetry.metrics.SynchronousInstrument.Builder
 
build() - Method in class io.opentelemetry.trace.EndSpanOptions.Builder
Builds and returns a EndSpanOptions with the desired settings.
build() - Method in class io.opentelemetry.trace.TraceFlags.Builder
Builds and returns a TraceFlags with the desired options.
build() - Method in class io.opentelemetry.trace.TraceState.Builder
Builds a TraceState by adding the entries to the parent in front of the key-value pairs list and removing duplicate entries.
builder() - Static method in class io.opentelemetry.trace.EndSpanOptions
Returns a new EndSpanOptions.Builder with default options.
builder() - Static method in class io.opentelemetry.trace.TraceFlags
Returns a new TraceFlags.Builder with default options.
builder(TraceFlags) - Static method in class io.opentelemetry.trace.TraceFlags
Returns a new TraceFlags.Builder with all given options set.
builder() - Static method in class io.opentelemetry.trace.TraceState
Returns a Builder based on an empty TraceState.

C

CANCELLED - Static variable in class io.opentelemetry.trace.Status
The operation was cancelled (typically by the caller).
compareTo(SpanId) - Method in class io.opentelemetry.trace.SpanId
 
compareTo(TraceId) - Method in class io.opentelemetry.trace.TraceId
 
contextBuilder() - Method in interface io.opentelemetry.correlationcontext.CorrelationContextManager
Returns a new Builder.
contextBuilder() - Method in class io.opentelemetry.correlationcontext.DefaultCorrelationContextManager
 
copyBytesTo(byte[], int) - Method in class io.opentelemetry.trace.SpanId
Copies the byte array representations of the SpanId into the dest beginning at the destOffset offset.
copyBytesTo(byte[], int) - Method in class io.opentelemetry.trace.TraceFlags
Copies the byte representations of the TraceFlags into the dest beginning at the destOffset offset.
copyBytesTo(byte[], int) - Method in class io.opentelemetry.trace.TraceId
Copies the byte array representations of the TraceId into the dest beginning at the destOffset offset.
copyLowerBase16To(char[], int) - Method in class io.opentelemetry.trace.SpanId
Copies the lowercase base16 representations of the SpanId into the dest beginning at the destOffset offset.
copyLowerBase16To(char[], int) - Method in class io.opentelemetry.trace.TraceFlags
Copies the lowercase base16 representations of the TraceId into the dest beginning at the destOffset offset.
copyLowerBase16To(char[], int) - Method in class io.opentelemetry.trace.TraceId
Copies the lowercase base16 representations of the TraceId into the dest beginning at the destOffset offset.
CorrelationContext - Interface in io.opentelemetry.correlationcontext
A map from EntryKey to EntryValue and EntryMetadata that can be used to label anything that is associated with a specific operation.
CorrelationContext.Builder - Interface in io.opentelemetry.correlationcontext
Builder for the CorrelationContext class.
CorrelationContextManager - Interface in io.opentelemetry.correlationcontext
Object for creating new CorrelationContexts and CorrelationContexts based on the current context.
CorrelationContextManagerFactory - Interface in io.opentelemetry.correlationcontext.spi
CorrelationContextManagerFactory is a service provider for CorrelationContextManager.
CorrelationsContextUtils - Class in io.opentelemetry.correlationcontext
Utility methods for accessing the CorrelationContext contained in the Context.
create(EntryKey, EntryValue, EntryMetadata) - Static method in class io.opentelemetry.correlationcontext.Entry
Creates an Entry from the given key, value and metadata.
create(String) - Static method in class io.opentelemetry.correlationcontext.EntryKey
Constructs an EntryKey with the given name.
create(EntryMetadata.EntryTtl) - Static method in class io.opentelemetry.correlationcontext.EntryMetadata
Creates an EntryMetadata with the given EntryMetadata.EntryTtl.
create(String) - Static method in class io.opentelemetry.correlationcontext.EntryValue
Constructs an EntryValue from the given string.
create() - Method in interface io.opentelemetry.correlationcontext.spi.CorrelationContextManagerFactory
Creates a new CorrelationContextManager instance.
create() - Method in interface io.opentelemetry.metrics.spi.MeterProviderFactory
Creates a new meter registry instance.
create(String) - Static method in class io.opentelemetry.trace.attributes.BooleanAttributeSetter
Returns a new attribute setter.
create(String) - Static method in class io.opentelemetry.trace.attributes.DoubleAttributeSetter
Returns a new attribute setter.
create(String) - Static method in class io.opentelemetry.trace.attributes.LongAttributeSetter
Returns a new attribute setter.
create(String) - Static method in class io.opentelemetry.trace.attributes.StringAttributeSetter
Returns a new attribute setter.
create(SpanContext) - Static method in class io.opentelemetry.trace.DefaultSpan
Creates an instance of this class with the SpanContext.
create(TraceId, SpanId, TraceFlags, TraceState) - Static method in class io.opentelemetry.trace.SpanContext
Creates a new SpanContext with the given identifiers and options.
create() - Method in interface io.opentelemetry.trace.spi.TracerProviderFactory
Creates a new TracerProvider.
create(String, String) - Static method in class io.opentelemetry.trace.TraceState.Entry
Creates a new Entry for the TraceState.
createFromRemoteParent(TraceId, SpanId, TraceFlags, TraceState) - Static method in class io.opentelemetry.trace.SpanContext
Creates a new SpanContext that was propagated from a remote parent, with the given identifiers and options.
currentContextWith(CorrelationContext) - Static method in class io.opentelemetry.correlationcontext.CorrelationsContextUtils
Returns a new Scope encapsulating the provided CorrelationContext added to the current Context.
currentContextWith(Span) - Static method in class io.opentelemetry.trace.TracingContextUtils
Returns a new Scope encapsulating the provided Span added to the current Context.

D

DATA_LOSS - Static variable in class io.opentelemetry.trace.Status
Unrecoverable data loss or corruption.
DB_INSTANCE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Database instance name.
DB_STATEMENT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Database statement for the given database type.
DB_TYPE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Database type.
DB_URL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
JDBC substring like "mysql://db.example.com:3306"
DB_USER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Username for accessing database.
DEADLINE_EXCEEDED - Static variable in class io.opentelemetry.trace.Status
Deadline expired before operation could complete.
DefaultCorrelationContextManager - Class in io.opentelemetry.correlationcontext
No-op implementations of CorrelationContextManager.
DefaultCorrelationContextManager() - Constructor for class io.opentelemetry.correlationcontext.DefaultCorrelationContextManager
 
DefaultMeter - Class in io.opentelemetry.metrics
No-op implementations of Meter.
DefaultMeterProvider - Class in io.opentelemetry.metrics
 
DefaultSpan - Class in io.opentelemetry.trace
The DefaultSpan is the default Span that is used when no Span implementation is available.
DefaultTracer - Class in io.opentelemetry.trace
No-op implementations of Tracer.
DefaultTracerProvider - Class in io.opentelemetry.trace
 
DoubleAttributeSetter - Class in io.opentelemetry.trace.attributes
Defines the behavior for a span attribute with double values.
doubleAttributeValue(double) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a double value.
DoubleCounter - Interface in io.opentelemetry.metrics
Counter is the most common synchronous instrument.
DoubleCounter.BoundDoubleCounter - Interface in io.opentelemetry.metrics
A Bound Instrument for a DoubleCounter.
DoubleCounter.Builder - Interface in io.opentelemetry.metrics
Builder class for DoubleCounter.
doubleCounterBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
doubleCounterBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a builder for a DoubleCounter.
DoubleSumObserver - Interface in io.opentelemetry.metrics
SumObserver is the asynchronous instrument corresponding to Counter, used to capture a monotonic sum with Observe(sum).
DoubleSumObserver.Builder - Interface in io.opentelemetry.metrics
Builder class for DoubleSumObserver.
DoubleSumObserver.ResultDoubleSumObserver - Interface in io.opentelemetry.metrics
doubleSumObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
doubleSumObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a DoubleSumObserver.
DoubleUpDownCounter - Interface in io.opentelemetry.metrics
UpDownCounter is a synchronous instrument and very similar to Counter except that Add(increment) supports negative increments.
DoubleUpDownCounter.BoundDoubleUpDownCounter - Interface in io.opentelemetry.metrics
A Bound Instrument for a DoubleUpDownCounter.
DoubleUpDownCounter.Builder - Interface in io.opentelemetry.metrics
Builder class for DoubleUpDownCounter.
doubleUpDownCounterBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
doubleUpDownCounterBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a builder for a DoubleUpDownCounter.
DoubleUpDownSumObserver - Interface in io.opentelemetry.metrics
UpDownSumObserver is the asynchronous instrument corresponding to UpDownCounter, used to capture a non-monotonic count with Observe(sum).
DoubleUpDownSumObserver.Builder - Interface in io.opentelemetry.metrics
Builder class for DoubleUpDownSumObserver.
DoubleUpDownSumObserver.ResultDoubleUpDownSumObserver - Interface in io.opentelemetry.metrics
The result for the Callback.
doubleUpDownSumObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
doubleUpDownSumObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a DoubleUpDownSumObserver.
DoubleValueObserver - Interface in io.opentelemetry.metrics
ValueObserver is the asynchronous instrument corresponding to ValueRecorder, used to capture values that are treated as individual observations, recorded with the observe(value) method.
DoubleValueObserver.Builder - Interface in io.opentelemetry.metrics
Builder class for DoubleValueObserver.
DoubleValueObserver.ResultDoubleValueObserver - Interface in io.opentelemetry.metrics
The result for the Callback.
doubleValueObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
doubleValueObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a DoubleValueObserver.
DoubleValueRecorder - Interface in io.opentelemetry.metrics
ValueRecorder is a synchronous instrument useful for recording any number, positive or negative.
DoubleValueRecorder.BoundDoubleValueRecorder - Interface in io.opentelemetry.metrics
A Bound Instrument for a DoubleValueRecorder.
DoubleValueRecorder.Builder - Interface in io.opentelemetry.metrics
Builder class for DoubleValueRecorder.
doubleValueRecorderBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
doubleValueRecorderBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a DoubleValueRecorder.

E

EmptyCorrelationContext - Class in io.opentelemetry.correlationcontext
An immutable implementation of the CorrelationContext that does not contain any entries.
end() - Method in class io.opentelemetry.trace.DefaultSpan
 
end(EndSpanOptions) - Method in class io.opentelemetry.trace.DefaultSpan
 
end() - Method in interface io.opentelemetry.trace.Span
Marks the end of Span execution.
end(EndSpanOptions) - Method in interface io.opentelemetry.trace.Span
Marks the end of Span execution with the specified EndSpanOptions.
EndSpanOptions - Class in io.opentelemetry.trace
A class that enables overriding the default values used when ending a Span.
EndSpanOptions.Builder - Class in io.opentelemetry.trace
Builder class for EndSpanOptions.
ENDUSER_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Username or client_id extracted from the access token or Authorization header in the inbound request from outside the system.
ENDUSER_ROLE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Actual/assumed role the client is making the request under extracted from token or application security context.
ENDUSER_SCOPE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Scopes or granted authorities the client currently possesses extracted from token or application security context.
Entry - Class in io.opentelemetry.correlationcontext
EntryKey paired with a EntryValue.
EntryKey - Class in io.opentelemetry.correlationcontext
A key to a value stored in a CorrelationContext.
EntryMetadata - Class in io.opentelemetry.correlationcontext
EntryMetadata contains properties associated with an Entry.
EntryMetadata.EntryTtl - Enum in io.opentelemetry.correlationcontext
EntryMetadata.EntryTtl is an integer that represents number of hops an entry can propagate.
EntryValue - Class in io.opentelemetry.correlationcontext
A validated entry value.
equals(Object) - Method in class io.opentelemetry.trace.SpanId
 
equals(Object) - Method in class io.opentelemetry.trace.Status
Equality on Statuses is not well defined.
equals(Object) - Method in class io.opentelemetry.trace.TraceFlags
 
equals(Object) - Method in class io.opentelemetry.trace.TraceId
 
Event - Interface in io.opentelemetry.trace
A text annotation with a set of attributes.
extract(Context, C, HttpTextFormat.Getter<C>) - Method in class io.opentelemetry.trace.propagation.HttpTraceContext
 

F

FAILED_PRECONDITION - Static variable in class io.opentelemetry.trace.Status
Operation was rejected because the system is not in a state required for the operation's execution.
fields() - Method in class io.opentelemetry.trace.propagation.HttpTraceContext
 
fromByte(byte) - Static method in class io.opentelemetry.trace.TraceFlags
Returns a TraceFlags whose representation is src.
fromBytes(byte[], int) - Static method in class io.opentelemetry.trace.SpanId
Returns a SpanId whose representation is copied from the src beginning at the srcOffset offset.
fromBytes(byte[], int) - Static method in class io.opentelemetry.trace.TraceId
Returns a TraceId whose representation is copied from the src beginning at the srcOffset offset.
fromLowerBase16(CharSequence, int) - Static method in class io.opentelemetry.trace.SpanId
Returns a SpanId built from a lowercase base16 representation.
fromLowerBase16(CharSequence, int) - Static method in class io.opentelemetry.trace.TraceFlags
Returns a TraceOption built from a lowercase base16 representation.
fromLowerBase16(CharSequence, int) - Static method in class io.opentelemetry.trace.TraceId
Returns a TraceId built from a lowercase base16 representation.

G

get(String) - Method in class io.opentelemetry.metrics.DefaultMeterProvider
 
get(String, String) - Method in class io.opentelemetry.metrics.DefaultMeterProvider
 
get(String) - Method in interface io.opentelemetry.metrics.MeterProvider
Gets or creates a named meter instance.
get(String, String) - Method in interface io.opentelemetry.metrics.MeterProvider
Gets or creates a named and versioned meter instance.
get(String) - Method in class io.opentelemetry.trace.DefaultTracerProvider
 
get(String, String) - Method in class io.opentelemetry.trace.DefaultTracerProvider
 
get(String) - Method in interface io.opentelemetry.trace.TracerProvider
Gets or creates a named tracer instance.
get(String, String) - Method in interface io.opentelemetry.trace.TracerProvider
Gets or creates a named and versioned tracer instance.
get(String) - Method in class io.opentelemetry.trace.TraceState
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
getAttributes() - Method in interface io.opentelemetry.trace.Event
Return the attributes of the Event.
getAttributes() - Method in interface io.opentelemetry.trace.Link
Returns the set of attributes.
getBooleanArrayValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the boolean array value of this AttributeValue.
getBooleanValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the boolean value of this AttributeValue.
getByte() - Method in class io.opentelemetry.trace.TraceFlags
Returns the one byte representation of the TraceFlags.
getCanonicalCode() - Method in class io.opentelemetry.trace.Status
Returns the canonical status code.
getContext() - Method in class io.opentelemetry.trace.DefaultSpan
 
getContext() - Method in interface io.opentelemetry.trace.Link
Returns the SpanContext.
getContext() - Method in interface io.opentelemetry.trace.Span
Returns the SpanContext associated with this Span.
getCorrelationContext(Context) - Static method in class io.opentelemetry.correlationcontext.CorrelationsContextUtils
Returns the CorrelationContext from the specified Context, falling back to an empty CorrelationContext.
getCorrelationContextManager() - Static method in class io.opentelemetry.OpenTelemetry
Returns a singleton CorrelationContextManager.
getCorrelationContextWithoutDefault(Context) - Static method in class io.opentelemetry.correlationcontext.CorrelationsContextUtils
Returns the CorrelationContext from the specified Context.
getCurrentContext() - Method in interface io.opentelemetry.correlationcontext.CorrelationContextManager
Returns the current CorrelationContext.
getCurrentContext() - Method in class io.opentelemetry.correlationcontext.DefaultCorrelationContextManager
 
getCurrentCorrelationContext() - Static method in class io.opentelemetry.correlationcontext.CorrelationsContextUtils
Returns the CorrelationContext from the current Context, falling back to an empty CorrelationContext.
getCurrentSpan() - Method in class io.opentelemetry.trace.DefaultTracer
 
getCurrentSpan() - Method in interface io.opentelemetry.trace.Tracer
Gets the current Span from the current Context.
getCurrentSpan() - Static method in class io.opentelemetry.trace.TracingContextUtils
Returns the Span from the current Context, falling back to a default, no-op Span.
getDefault() - Static method in class io.opentelemetry.trace.TraceFlags
Returns the default TraceFlags.
getDefault() - Static method in class io.opentelemetry.trace.TraceState
Returns the default TraceState with no entries.
getDescription() - Method in class io.opentelemetry.trace.Status
Returns the description of this Status for human consumption.
getDoubleArrayValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the double array value of this AttributeValue.
getDoubleValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the double value of this AttributeValue.
getEndTimestamp() - Method in class io.opentelemetry.trace.EndSpanOptions
Returns the end timestamp.
getEntries() - Method in interface io.opentelemetry.correlationcontext.CorrelationContext
Returns an immutable collection of the entries in this CorrelationContext.
getEntries() - Method in class io.opentelemetry.correlationcontext.EmptyCorrelationContext
 
getEntries() - Method in class io.opentelemetry.trace.TraceState
Returns a List view of the mappings contained in this TraceState.
getEntryMetadata() - Method in class io.opentelemetry.correlationcontext.Entry
Returns the EntryMetadata associated with this Entry.
getEntryTtl() - Method in class io.opentelemetry.correlationcontext.EntryMetadata
getEntryValue(EntryKey) - Method in interface io.opentelemetry.correlationcontext.CorrelationContext
Returns the EntryValue associated with the given EntryKey.
getEntryValue(EntryKey) - Method in class io.opentelemetry.correlationcontext.EmptyCorrelationContext
 
getInstance() - Static method in class io.opentelemetry.correlationcontext.DefaultCorrelationContextManager
Returns a CorrelationContextManager singleton that is the default implementation for CorrelationContextManager.
getInstance() - Static method in class io.opentelemetry.correlationcontext.EmptyCorrelationContext
Returns the single instance of the EmptyCorrelationContext class.
getInstance() - Static method in class io.opentelemetry.metrics.DefaultMeter
Returns a Meter singleton that is the default implementations for Meter.
getInstance() - Static method in class io.opentelemetry.metrics.DefaultMeterProvider
Returns a MeterProvider singleton that is the default implementation for MeterProvider.
getInstance() - Static method in class io.opentelemetry.trace.DefaultTracer
Returns a Tracer singleton that is the default implementations for Tracer.
getInstance() - Static method in class io.opentelemetry.trace.DefaultTracerProvider
Returns a TracerProvider singleton that is the default implementation for TracerProvider.
getInvalid() - Static method in class io.opentelemetry.trace.DefaultSpan
Returns a DefaultSpan with an invalid SpanContext.
getInvalid() - Static method in class io.opentelemetry.trace.SpanContext
Returns the invalid SpanContext that can be used for no-op operations.
getInvalid() - Static method in class io.opentelemetry.trace.SpanId
Returns the invalid SpanId.
getInvalid() - Static method in class io.opentelemetry.trace.TraceId
Returns the invalid TraceId.
getKey() - Method in class io.opentelemetry.correlationcontext.Entry
Returns the entry's key.
getKey() - Method in class io.opentelemetry.trace.TraceState.Entry
Returns the key String.
getLongArrayValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the long array value of this AttributeValue.
getLongValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the long value of this AttributeValue.
getMeter(String) - Static method in class io.opentelemetry.OpenTelemetry
Gets or creates a named meter instance.
getMeter(String, String) - Static method in class io.opentelemetry.OpenTelemetry
Gets or creates a named and versioned meter instance.
getMeterProvider() - Static method in class io.opentelemetry.OpenTelemetry
Returns a singleton MeterProvider.
getName() - Method in class io.opentelemetry.correlationcontext.EntryKey
Returns the name of the key.
getName() - Method in interface io.opentelemetry.trace.Event
Return the name of the Event.
getPropagators() - Static method in class io.opentelemetry.OpenTelemetry
Returns a ContextPropagators object, which can be used to access the set of registered propagators for each supported format.
getSize() - Static method in class io.opentelemetry.trace.SpanId
Returns the size in bytes of the SpanId.
getSize() - Static method in class io.opentelemetry.trace.TraceFlags
Returns the size in bytes of the TraceFlags.
getSize() - Static method in class io.opentelemetry.trace.TraceId
Returns the size in bytes of the TraceId.
getSpan(Context) - Static method in class io.opentelemetry.trace.TracingContextUtils
Returns the Span from the specified Context, falling back to a default, no-op Span.
getSpanId() - Method in class io.opentelemetry.trace.SpanContext
Returns the span identifier associated with this SpanContext.
getSpanWithoutDefault(Context) - Static method in class io.opentelemetry.trace.TracingContextUtils
Returns the Span from the specified Context.
getStringArrayValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the String array value of this AttributeValue.
getStringValue() - Method in class io.opentelemetry.common.AttributeValue
Returns the string value of this AttributeValue.
getTraceFlags() - Method in class io.opentelemetry.trace.SpanContext
Returns the TraceFlags associated with this SpanContext.
getTraceId() - Method in class io.opentelemetry.trace.SpanContext
Returns the trace identifier associated with this SpanContext.
getTracer(String) - Static method in class io.opentelemetry.OpenTelemetry
Gets or creates a named tracer instance.
getTracer(String, String) - Static method in class io.opentelemetry.OpenTelemetry
Gets or creates a named and versioned tracer instance.
getTraceRandomPart() - Method in class io.opentelemetry.trace.TraceId
Returns the rightmost 8 bytes of the trace-id as a long value.
getTracerProvider() - Static method in class io.opentelemetry.OpenTelemetry
Returns a singleton TracerProvider.
getTraceState() - Method in class io.opentelemetry.trace.SpanContext
Returns the TraceState associated with this SpanContext.
getType() - Method in class io.opentelemetry.common.AttributeValue
Returns a Type corresponding to the underlying value of this AttributeValue.
getValue() - Method in class io.opentelemetry.correlationcontext.Entry
Returns the entry's value.
getValue() - Method in class io.opentelemetry.trace.TraceState.Entry
Returns the value String.

H

hashCode() - Method in class io.opentelemetry.trace.SpanId
 
hashCode() - Method in class io.opentelemetry.trace.Status
Hash codes on Statuses are not well defined.
hashCode() - Method in class io.opentelemetry.trace.TraceFlags
 
hashCode() - Method in class io.opentelemetry.trace.TraceId
 
HTTP_CLIENT_IP - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The IP address of the original client behind all proxies, if known.
HTTP_FLAVOR - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Kind of HTTP protocol used: "1.0", "1.1", "2", "SPDY" or "QUIC".
HTTP_HOST - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The value of the HTTP host header.
HTTP_METHOD - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
HTTP request method.
HTTP_ROUTE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The matched route (path template).
HTTP_SCHEME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The URI scheme identifying the used protocol: "http" or "https".
HTTP_SERVER_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The primary server name of the matched virtual host.
HTTP_STATUS_CODE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
HTTP response status code.
HTTP_STATUS_TEXT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
HTTP reason phrase.
HTTP_TARGET - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The full request target as passed in a HTTP request line or equivalent.
HTTP_URL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
HTTP_USER_AGENT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Value of the HTTP "User-Agent" header sent by the client.
HttpTraceContext - Class in io.opentelemetry.trace.propagation
Implementation of the TraceContext propagation protocol.
HttpTraceContext() - Constructor for class io.opentelemetry.trace.propagation.HttpTraceContext
 

I

inject(Context, C, HttpTextFormat.Setter<C>) - Method in class io.opentelemetry.trace.propagation.HttpTraceContext
 
Instrument - Interface in io.opentelemetry.metrics
Base interface for all metrics defined in this package.
Instrument.Builder - Interface in io.opentelemetry.metrics
The Builder class for the Instrument.
INTERNAL - Static variable in class io.opentelemetry.trace.Status
Internal errors.
INVALID_ARGUMENT - Static variable in class io.opentelemetry.trace.Status
Client specified an invalid argument.
io.opentelemetry - package io.opentelemetry
 
io.opentelemetry.common - package io.opentelemetry.common
 
io.opentelemetry.correlationcontext - package io.opentelemetry.correlationcontext
API for associating entries with scoped operations.
io.opentelemetry.correlationcontext.spi - package io.opentelemetry.correlationcontext.spi
 
io.opentelemetry.metrics - package io.opentelemetry.metrics
This package describes the Metrics API that can be used to record application Metrics.
io.opentelemetry.metrics.spi - package io.opentelemetry.metrics.spi
 
io.opentelemetry.trace - package io.opentelemetry.trace
API for distributed tracing.
io.opentelemetry.trace.attributes - package io.opentelemetry.trace.attributes
 
io.opentelemetry.trace.propagation - package io.opentelemetry.trace.propagation
 
io.opentelemetry.trace.spi - package io.opentelemetry.trace.spi
 
isOk() - Method in class io.opentelemetry.trace.Status
Returns true if this Status is OK, i.e., not an error.
isRecording() - Method in class io.opentelemetry.trace.DefaultSpan
 
isRecording() - Method in interface io.opentelemetry.trace.Span
Returns true if this Span records tracing events (e.g.
isRemote() - Method in class io.opentelemetry.trace.SpanContext
Returns true if the SpanContext was propagated from a remote parent.
isSampled() - Method in class io.opentelemetry.trace.TraceFlags
Returns a boolean indicating whether this Span is part of a sampled trace and data should be exported to a persistent store.
isValid() - Method in class io.opentelemetry.trace.SpanContext
Returns true if this SpanContext is valid.
isValid() - Method in class io.opentelemetry.trace.SpanId
Returns whether the span identifier is valid.
isValid() - Method in class io.opentelemetry.trace.TraceId
Returns whether the TraceId is valid.

K

key() - Method in class io.opentelemetry.trace.attributes.BooleanAttributeSetter
Returns the attribute name.
key() - Method in class io.opentelemetry.trace.attributes.DoubleAttributeSetter
Returns the attribute name.
key() - Method in class io.opentelemetry.trace.attributes.LongAttributeSetter
Returns the attribute name.
key() - Method in class io.opentelemetry.trace.attributes.StringAttributeSetter
Returns the attribute name.

L

Link - Interface in io.opentelemetry.trace
A link to a Span.
LongAttributeSetter - Class in io.opentelemetry.trace.attributes
Defines the behavior for a span attribute with long values.
longAttributeValue(long) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a long value.
LongCounter - Interface in io.opentelemetry.metrics
Counter is the most common synchronous instrument.
LongCounter.BoundLongCounter - Interface in io.opentelemetry.metrics
A Bound Instrument for a LongCounter.
LongCounter.Builder - Interface in io.opentelemetry.metrics
Builder class for LongCounter.
longCounterBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
longCounterBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a builder for a LongCounter.
LongSumObserver - Interface in io.opentelemetry.metrics
SumObserver is the asynchronous instrument corresponding to Counter, used to capture a monotonic sum with Observe(sum).
LongSumObserver.Builder - Interface in io.opentelemetry.metrics
Builder class for LongSumObserver.
LongSumObserver.ResultLongSumObserver - Interface in io.opentelemetry.metrics
longSumObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
longSumObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a LongSumObserver.
LongUpDownCounter - Interface in io.opentelemetry.metrics
UpDownCounter is a synchronous instrument and very similar to Counter except that Add(increment) supports negative increments.
LongUpDownCounter.BoundLongUpDownCounter - Interface in io.opentelemetry.metrics
A Bound Instrument for a LongUpDownCounter.
LongUpDownCounter.Builder - Interface in io.opentelemetry.metrics
Builder class for LongUpDownCounter.
longUpDownCounterBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
longUpDownCounterBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a builder for a LongUpDownCounter.
LongUpDownSumObserver - Interface in io.opentelemetry.metrics
UpDownSumObserver is the asynchronous instrument corresponding to UpDownCounter, used to capture a non-monotonic count with Observe(sum).
LongUpDownSumObserver.Builder - Interface in io.opentelemetry.metrics
Builder class for LongUpDownSumObserver.
LongUpDownSumObserver.ResultLongUpDownSumObserver - Interface in io.opentelemetry.metrics
The result for the Callback.
longUpDownSumObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
longUpDownSumObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a LongUpDownSumObserver.
LongValueObserver - Interface in io.opentelemetry.metrics
ValueObserver is the asynchronous instrument corresponding to ValueRecorder, used to capture values that are treated as individual observations, recorded with the observe(value) method.
LongValueObserver.Builder - Interface in io.opentelemetry.metrics
Builder class for LongValueObserver.
LongValueObserver.ResultLongValueObserver - Interface in io.opentelemetry.metrics
The result for the Callback.
longValueObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
longValueObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a LongValueObserver.
LongValueRecorder - Interface in io.opentelemetry.metrics
ValueRecorder is a synchronous instrument useful for recording any number, positive or negative.
LongValueRecorder.BoundLongValueRecorder - Interface in io.opentelemetry.metrics
A Bound Instrument for a LongValueRecorder.
LongValueRecorder.Builder - Interface in io.opentelemetry.metrics
Builder class for LongValueRecorder.
longValueRecorderBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
 
longValueRecorderBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
Returns a new builder for a LongValueRecorder.

M

MAX_LENGTH - Static variable in class io.opentelemetry.correlationcontext.EntryKey
The maximum length for an entry key name.
MAX_LENGTH - Static variable in class io.opentelemetry.correlationcontext.EntryValue
The maximum length for a entry value.
MESSAGE_COMPRESSED_SIZE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
RPC span event attribute for compressed size.
MESSAGE_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
RPC span event attribute starting from 1 for each of sent messages and received messages.
MESSAGE_TYPE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
RPC span event attribute with value "SENT" or "RECEIVED".
MESSAGE_UNCOMPRESSED_SIZE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
RPC span event attribute for uncompressed size.
METADATA_UNLIMITED_PROPAGATION - Static variable in class io.opentelemetry.correlationcontext.Entry
Default propagation metadata - unlimited propagation.
Meter - Interface in io.opentelemetry.metrics
Meter is a simple, interface that allows users to record measurements (metrics).
MeterProvider - Interface in io.opentelemetry.metrics
A registry for creating named Meters.
MeterProviderFactory - Interface in io.opentelemetry.metrics.spi
MeterProviderFactory is a service provider for MeterProvider.

N

NET_HOST_IP - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Like net.peer.ip but for the host IP.
NET_HOST_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Local hostname or similar.
NET_HOST_PORT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Like net.peer.port but for the host port.
NET_PEER_IP - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Remote address of the peer (dotted decimal for IPv4 or RFC5952 for IPv6).
NET_PEER_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Remote hostname or similar.
NET_PEER_PORT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Remote port number as an integer.
NET_TRANSPORT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Transport protocol used.
newBatchRecorder(String...) - Method in class io.opentelemetry.metrics.DefaultMeter
 
newBatchRecorder(String...) - Method in interface io.opentelemetry.metrics.Meter
Utility method that allows users to atomically record measurements to a set of Instruments with a common set of labels.
NOT_FOUND - Static variable in class io.opentelemetry.trace.Status
Some requested entity (e.g., file or directory) was not found.

O

observe(double, String...) - Method in interface io.opentelemetry.metrics.DoubleSumObserver.ResultDoubleSumObserver
 
observe(double, String...) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.ResultDoubleUpDownSumObserver
 
observe(double, String...) - Method in interface io.opentelemetry.metrics.DoubleValueObserver.ResultDoubleValueObserver
 
observe(long, String...) - Method in interface io.opentelemetry.metrics.LongSumObserver.ResultLongSumObserver
 
observe(long, String...) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.ResultLongUpDownSumObserver
 
observe(long, String...) - Method in interface io.opentelemetry.metrics.LongValueObserver.ResultLongValueObserver
 
OK - Static variable in class io.opentelemetry.trace.Status
The operation completed successfully.
OpenTelemetry - Class in io.opentelemetry
This class provides a static global accessor for telemetry objects Tracer, Meter and CorrelationContextManager.
OUT_OF_RANGE - Static variable in class io.opentelemetry.trace.Status
Operation was attempted past the valid range.

P

PERMISSION_DENIED - Static variable in class io.opentelemetry.trace.Status
The caller does not have permission to execute the specified operation.
put(EntryKey, EntryValue, EntryMetadata) - Method in interface io.opentelemetry.correlationcontext.CorrelationContext.Builder
Adds the key/value pair and metadata regardless of whether the key is present.
put(LongValueRecorder, long) - Method in interface io.opentelemetry.metrics.BatchRecorder
Associates the LongValueRecorder with the given value.
put(DoubleValueRecorder, double) - Method in interface io.opentelemetry.metrics.BatchRecorder
Associates the DoubleValueRecorder with the given value.
put(LongCounter, long) - Method in interface io.opentelemetry.metrics.BatchRecorder
Associates the LongCounter with the given value.
put(DoubleCounter, double) - Method in interface io.opentelemetry.metrics.BatchRecorder
Associates the DoubleCounter with the given value.
put(LongUpDownCounter, long) - Method in interface io.opentelemetry.metrics.BatchRecorder
Associates the LongUpDownCounter with the given value.
put(DoubleUpDownCounter, double) - Method in interface io.opentelemetry.metrics.BatchRecorder
Associates the DoubleUpDownCounter with the given value.

R

record() - Method in interface io.opentelemetry.metrics.BatchRecorder
Records all of measurements at the same time.
record(double) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.BoundDoubleValueRecorder
Records the given measurement, associated with the current Context.
record(double, String...) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
Records the given measurement, associated with the current Context and provided set of labels.
record(long) - Method in interface io.opentelemetry.metrics.LongValueRecorder.BoundLongValueRecorder
Records the given measurement, associated with the current Context.
record(long, String...) - Method in interface io.opentelemetry.metrics.LongValueRecorder
Records the given measurement, associated with the current Context and provided set of labels.
remove(EntryKey) - Method in interface io.opentelemetry.correlationcontext.CorrelationContext.Builder
Removes the key if it exists.
remove(String) - Method in class io.opentelemetry.trace.TraceState.Builder
Removes the Entry that has the given key if it is present.
RESOURCE_EXHAUSTED - Static variable in class io.opentelemetry.trace.Status
Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.
RPC_SERVICE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The service name, must be equal to the $service part in the span name.

S

SemanticAttributes - Class in io.opentelemetry.trace.attributes
Defines constants for all attribute names defined in the OpenTelemetry Semantic Conventions specifications.
set(Span, boolean) - Method in class io.opentelemetry.trace.attributes.BooleanAttributeSetter
Sets the attribute on the provided span.
set(Span, double) - Method in class io.opentelemetry.trace.attributes.DoubleAttributeSetter
Sets the attribute on the provided span.
set(Span, long) - Method in class io.opentelemetry.trace.attributes.LongAttributeSetter
Sets the attribute on the provided span.
set(Span, String) - Method in class io.opentelemetry.trace.attributes.StringAttributeSetter
Sets the attribute on the provided span.
set(String, String) - Method in class io.opentelemetry.trace.TraceState.Builder
Adds or updates the Entry that has the given key if it is present.
setAttribute(String, String) - Method in class io.opentelemetry.trace.DefaultSpan
 
setAttribute(String, long) - Method in class io.opentelemetry.trace.DefaultSpan
 
setAttribute(String, double) - Method in class io.opentelemetry.trace.DefaultSpan
 
setAttribute(String, boolean) - Method in class io.opentelemetry.trace.DefaultSpan
 
setAttribute(String, AttributeValue) - Method in class io.opentelemetry.trace.DefaultSpan
 
setAttribute(String, String) - Method in interface io.opentelemetry.trace.Span.Builder
Sets an attribute to the newly created Span.
setAttribute(String, long) - Method in interface io.opentelemetry.trace.Span.Builder
Sets an attribute to the newly created Span.
setAttribute(String, double) - Method in interface io.opentelemetry.trace.Span.Builder
Sets an attribute to the newly created Span.
setAttribute(String, boolean) - Method in interface io.opentelemetry.trace.Span.Builder
Sets an attribute to the newly created Span.
setAttribute(String, AttributeValue) - Method in interface io.opentelemetry.trace.Span.Builder
Sets an attribute to the newly created Span.
setAttribute(String, String) - Method in interface io.opentelemetry.trace.Span
Sets an attribute to the Span.
setAttribute(String, long) - Method in interface io.opentelemetry.trace.Span
Sets an attribute to the Span.
setAttribute(String, double) - Method in interface io.opentelemetry.trace.Span
Sets an attribute to the Span.
setAttribute(String, boolean) - Method in interface io.opentelemetry.trace.Span
Sets an attribute to the Span.
setAttribute(String, AttributeValue) - Method in interface io.opentelemetry.trace.Span
Sets an attribute to the Span.
setCallback(AsynchronousInstrument.Callback<R>) - Method in interface io.opentelemetry.metrics.AsynchronousInstrument
Sets a callback that gets executed every collection interval.
setCallback(AsynchronousInstrument.Callback<DoubleSumObserver.ResultDoubleSumObserver>) - Method in interface io.opentelemetry.metrics.DoubleSumObserver
 
setCallback(AsynchronousInstrument.Callback<DoubleUpDownSumObserver.ResultDoubleUpDownSumObserver>) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver
 
setCallback(AsynchronousInstrument.Callback<DoubleValueObserver.ResultDoubleValueObserver>) - Method in interface io.opentelemetry.metrics.DoubleValueObserver
 
setCallback(AsynchronousInstrument.Callback<LongSumObserver.ResultLongSumObserver>) - Method in interface io.opentelemetry.metrics.LongSumObserver
 
setCallback(AsynchronousInstrument.Callback<LongUpDownSumObserver.ResultLongUpDownSumObserver>) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver
 
setCallback(AsynchronousInstrument.Callback<LongValueObserver.ResultLongValueObserver>) - Method in interface io.opentelemetry.metrics.LongValueObserver
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.Instrument.Builder
Sets the map of constant labels (they will be added to all the Bound Instruments) for the Instrument.
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.LongCounter.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
 
setConstantLabels(Map<String, String>) - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.Instrument.Builder
Sets the description of the Instrument.
setDescription(String) - Method in interface io.opentelemetry.metrics.LongCounter.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
 
setDescription(String) - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
 
setEndTimestamp(long) - Method in class io.opentelemetry.trace.EndSpanOptions.Builder
Sets the end timestamp for the Span.
setIsSampled(boolean) - Method in class io.opentelemetry.trace.TraceFlags.Builder
Sets the sampling bit in the options.
setNoParent() - Method in interface io.opentelemetry.correlationcontext.CorrelationContext.Builder
Sets the option to become a root CorrelationContext with no parent.
setNoParent() - Method in interface io.opentelemetry.trace.Span.Builder
Sets the option to become a root Span for a new trace.
setParent(CorrelationContext) - Method in interface io.opentelemetry.correlationcontext.CorrelationContext.Builder
Sets the parent CorrelationContext to use.
setParent(Span) - Method in interface io.opentelemetry.trace.Span.Builder
Sets the parent Span to use.
setParent(SpanContext) - Method in interface io.opentelemetry.trace.Span.Builder
Sets the parent SpanContext to use.
setPropagators(ContextPropagators) - Static method in class io.opentelemetry.OpenTelemetry
Sets the ContextPropagators object, which can be used to access the set of registered propagators for each supported format.
setSpanKind(Span.Kind) - Method in interface io.opentelemetry.trace.Span.Builder
Sets the Span.Kind for the newly created Span.
setStartTimestamp(long) - Method in interface io.opentelemetry.trace.Span.Builder
Sets an explicit start timestamp for the newly created Span.
setStatus(Status) - Method in class io.opentelemetry.trace.DefaultSpan
 
setStatus(Status) - Method in interface io.opentelemetry.trace.Span
Sets the Status to the Span.
setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.Instrument.Builder
Sets the unit of the Instrument.
setUnit(String) - Method in interface io.opentelemetry.metrics.LongCounter.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
 
setUnit(String) - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
 
Span - Interface in io.opentelemetry.trace
An interface that represents a span.
Span.Builder - Interface in io.opentelemetry.trace
Span.Builder is used to construct Span instances which define arbitrary scopes of code that are sampled for distributed tracing as a single atomic unit.
Span.Kind - Enum in io.opentelemetry.trace
Type of span.
spanBuilder(String) - Method in class io.opentelemetry.trace.DefaultTracer
 
spanBuilder(String) - Method in interface io.opentelemetry.trace.Tracer
Returns a Span.Builder to create and start a new Span.
SpanContext - Class in io.opentelemetry.trace
A class that represents a span context.
SpanContext() - Constructor for class io.opentelemetry.trace.SpanContext
 
SpanId - Class in io.opentelemetry.trace
A class that represents a span identifier.
SpanId(long) - Constructor for class io.opentelemetry.trace.SpanId
Constructs a SpanId whose representation is specified by a long value.
startSpan() - Method in interface io.opentelemetry.trace.Span.Builder
Starts a new Span.
Status - Class in io.opentelemetry.trace
Defines the status of a Span by providing a standard Status.CanonicalCode in conjunction with an optional descriptive message.
Status.CanonicalCode - Enum in io.opentelemetry.trace
The set of canonical status codes.
StringAttributeSetter - Class in io.opentelemetry.trace.attributes
Defines the behavior for a span attribute with string values.
stringAttributeValue(String) - Static method in class io.opentelemetry.common.AttributeValue
Returns an AttributeValue with a string value.
SynchronousInstrument<B extends SynchronousInstrument.BoundInstrument> - Interface in io.opentelemetry.metrics
SynchronousInstrument is an interface that defines a type of instruments that are used to report measurements synchronously.
SynchronousInstrument.BoundInstrument - Interface in io.opentelemetry.metrics
 
SynchronousInstrument.Builder - Interface in io.opentelemetry.metrics
Builder class for SynchronousInstrument.

T

toBuilder() - Method in class io.opentelemetry.trace.TraceState
Returns a Builder based on this TraceState.
toLowerBase16() - Method in class io.opentelemetry.trace.SpanId
Returns the lowercase base16 encoding of this SpanId.
toLowerBase16() - Method in class io.opentelemetry.trace.TraceFlags
Returns the lowercase base16 encoding of this TraceFlags.
toLowerBase16() - Method in class io.opentelemetry.trace.TraceId
Returns the lowercase base16 encoding of this TraceId.
toStatus() - Method in enum io.opentelemetry.trace.Status.CanonicalCode
Returns the status that has the current CanonicalCode..
toString() - Method in class io.opentelemetry.trace.DefaultSpan
 
toString() - Method in class io.opentelemetry.trace.SpanId
 
toString() - Method in class io.opentelemetry.trace.Status
 
toString() - Method in class io.opentelemetry.trace.TraceFlags
 
toString() - Method in class io.opentelemetry.trace.TraceId
 
TraceFlags - Class in io.opentelemetry.trace
A class that represents global trace options.
TraceFlags.Builder - Class in io.opentelemetry.trace
Builder class for TraceFlags.
TraceId - Class in io.opentelemetry.trace
A class that represents a trace identifier.
TraceId(long, long) - Constructor for class io.opentelemetry.trace.TraceId
Constructs a TraceId whose representation is specified by two long values representing the lower and higher parts.
Tracer - Interface in io.opentelemetry.trace
Tracer is the interface for Span creation and interaction with the in-process context.
TracerProvider - Interface in io.opentelemetry.trace
A registry for creating named Tracers.
TracerProviderFactory - Interface in io.opentelemetry.trace.spi
TracerProviderFactory is a service provider for a TracerProvider.
TraceState - Class in io.opentelemetry.trace
Carries tracing-system specific context in a list of key-value pairs.
TraceState.Builder - Class in io.opentelemetry.trace
Builder class for TraceState.
TraceState.Entry - Class in io.opentelemetry.trace
Immutable key-value pair for TraceState.
TracingContextUtils - Class in io.opentelemetry.trace
Util methods/functionality to interact with the Context.

U

UNAUTHENTICATED - Static variable in class io.opentelemetry.trace.Status
The request does not have valid authentication credentials for the operation.
UNAVAILABLE - Static variable in class io.opentelemetry.trace.Status
The service is currently unavailable.
unbind() - Method in interface io.opentelemetry.metrics.DoubleCounter.BoundDoubleCounter
 
unbind() - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.BoundDoubleUpDownCounter
 
unbind() - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.BoundDoubleValueRecorder
 
unbind() - Method in interface io.opentelemetry.metrics.LongCounter.BoundLongCounter
 
unbind() - Method in interface io.opentelemetry.metrics.LongUpDownCounter.BoundLongUpDownCounter
 
unbind() - Method in interface io.opentelemetry.metrics.LongValueRecorder.BoundLongValueRecorder
 
unbind() - Method in interface io.opentelemetry.metrics.SynchronousInstrument.BoundInstrument
Unbinds the current Bound from the Instrument.
UNIMPLEMENTED - Static variable in class io.opentelemetry.trace.Status
Operation is not implemented or not supported/enabled in this service.
UNKNOWN - Static variable in class io.opentelemetry.trace.Status
Unknown error.
update(R) - Method in interface io.opentelemetry.metrics.AsynchronousInstrument.Callback
 
updateName(String) - Method in class io.opentelemetry.trace.DefaultSpan
 
updateName(String) - Method in interface io.opentelemetry.trace.Span
Updates the Span name.

V

value() - Method in enum io.opentelemetry.trace.Status.CanonicalCode
Returns the numerical value of the code.
valueOf(String) - Static method in enum io.opentelemetry.common.AttributeValue.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.correlationcontext.EntryMetadata.EntryTtl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.trace.Span.Kind
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.trace.Status.CanonicalCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.opentelemetry.common.AttributeValue.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.correlationcontext.EntryMetadata.EntryTtl
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.trace.Span.Kind
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.trace.Status.CanonicalCode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withContext(CorrelationContext) - Method in interface io.opentelemetry.correlationcontext.CorrelationContextManager
Enters the scope of code where the given CorrelationContext is in the current context (replacing the previous CorrelationContext) and returns an object that represents that scope.
withContext(CorrelationContext) - Method in class io.opentelemetry.correlationcontext.DefaultCorrelationContextManager
 
withCorrelationContext(CorrelationContext, Context) - Static method in class io.opentelemetry.correlationcontext.CorrelationsContextUtils
Creates a new Context with the given value set.
withDescription(String) - Method in class io.opentelemetry.trace.Status
Creates a derived instance of Status with the given description.
withSpan(Span) - Method in class io.opentelemetry.trace.DefaultTracer
 
withSpan(Span) - Method in interface io.opentelemetry.trace.Tracer
Enters the scope of code where the given Span is in the current Context, and returns an object that represents that scope.
withSpan(Span, Context) - Static method in class io.opentelemetry.trace.TracingContextUtils
Creates a new Context with the given Span set.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links