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

A

add(double, Labels) - Method in interface io.opentelemetry.metrics.DoubleCounter
Adds the given increment to the current value.
add(double) - 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, Labels) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
Adds the given increment to the current value.
add(double) - 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, Labels) - Method in interface io.opentelemetry.metrics.LongCounter
Adds the given increment to the current value.
add(long) - 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, Labels) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
Adds the given increment to the current value.
add(long) - 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.
addAll(Attributes) - Method in class io.opentelemetry.common.Attributes.Builder
Add all the provided attributes to this Builder.
addEvent(String) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String, long) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String, Attributes) - Method in class io.opentelemetry.trace.DefaultSpan
 
addEvent(String, Attributes, 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 with the given timestamp, as nanos since epoch.
addEvent(String, Attributes) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span with the given Attributes.
addEvent(String, Attributes, long) - Method in interface io.opentelemetry.trace.Span
Adds an event to the Span with the given Attributes and timestamp.
addLink(SpanContext) - Method in interface io.opentelemetry.trace.Span.Builder
Adds a link to the newly created Span.
addLink(SpanContext, Attributes) - Method in interface io.opentelemetry.trace.Span.Builder
Adds a link to the newly created Span.
AsynchronousInstrument<R extends AsynchronousInstrument.Result> - 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 extends AsynchronousInstrument.Result> - Interface in io.opentelemetry.metrics
A Callback for a AsynchronousInstrument.
AsynchronousInstrument.DoubleResult - Interface in io.opentelemetry.metrics
AsynchronousInstrument.LongResult - Interface in io.opentelemetry.metrics
AsynchronousInstrument.Result - Interface in io.opentelemetry.metrics
 
AttributeConsumer - Interface in io.opentelemetry.common
Used for iterating over all the key/value pairs in an Attributes instance.
AttributeKey<T> - Interface in io.opentelemetry.common
This interface provides a handle for setting the values of Attributes.
Attributes - Class in io.opentelemetry.common
An immutable container for attributes.
Attributes() - Constructor for class io.opentelemetry.common.Attributes
 
Attributes.Builder - Class in io.opentelemetry.common
Enables the creation of an Attributes instance with an arbitrary number of key-value pairs.
AttributeType - Enum in io.opentelemetry.common
An enum that represents all the possible value types for an AttributeKey and hence the types of values that are allowed for Attributes.

B

Baggage - Interface in io.opentelemetry.baggage
A map from String to String and EntryMetadata that can be used to label anything that is associated with a specific operation.
Baggage.Builder - Interface in io.opentelemetry.baggage
Builder for the Baggage class.
baggageBuilder() - Method in interface io.opentelemetry.baggage.BaggageManager
Returns a new Baggage.Builder.
baggageBuilder() - Method in class io.opentelemetry.baggage.DefaultBaggageManager
 
BaggageManager - Interface in io.opentelemetry.baggage
Object for creating new Baggages and Baggages based on the current context.
BaggageManagerFactory - Interface in io.opentelemetry.baggage.spi
BaggageManagerFactory is a service provider for BaggageManager.
BaggageUtils - Class in io.opentelemetry.baggage
Utility methods for accessing the Baggage contained in the Context.
BatchRecorder - Interface in io.opentelemetry.metrics
Util class that can be use to atomically record measurements associated with a set of Metrics.
bind(Labels) - Method in interface io.opentelemetry.metrics.DoubleCounter
 
bind(Labels) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
 
bind(Labels) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
 
bind(Labels) - Method in interface io.opentelemetry.metrics.LongCounter
 
bind(Labels) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
 
bind(Labels) - Method in interface io.opentelemetry.metrics.LongValueRecorder
 
bind(Labels) - Method in interface io.opentelemetry.metrics.SynchronousInstrument
Returns a Bound Instrument associated with the specified labels.
booleanArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for List<Boolean> valued attributes.
booleanKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for Boolean valued attributes.
build() - Method in interface io.opentelemetry.baggage.Baggage.Builder
Creates a Baggage from this builder.
build() - Method in class io.opentelemetry.common.Attributes.Builder
Create the Attributes from this.
build() - Method in class io.opentelemetry.common.Labels.Builder
Create the Labels from this.
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.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() - Constructor for class io.opentelemetry.common.Labels.Builder
 
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.TraceState
Returns a Builder based on an empty TraceState.
byteFromHex(CharSequence, int) - Static method in class io.opentelemetry.trace.TraceFlags
Extract the byte representation of the flags from a hex-representation.
bytesFromHex(String, int) - Static method in class io.opentelemetry.trace.SpanId
Returns a SpanId built from a lowercase base16 representation.
bytesFromHex(String, int) - Static method in class io.opentelemetry.trace.TraceId
Returns a TraceId built from a lowercase base16 representation.
bytesToHex(byte[]) - Static method in class io.opentelemetry.trace.SpanId
Encode the bytes as base-16 (hex), padded with '0's on the left.
bytesToHex(byte[]) - Static method in class io.opentelemetry.trace.TraceId
Returns the lowercase base16 encoding of this TraceId.

C

CASSANDRA_KEYSPACE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For db.system == cassandra, the name of the keyspace being accessed.
consume(AttributeKey<T>, T) - Method in interface io.opentelemetry.common.AttributeConsumer
 
consume(String, String) - Method in interface io.opentelemetry.common.LabelConsumer
 
copyHexInto(byte[], char[], int) - Static method in class io.opentelemetry.trace.TraceId
Copies the lowercase base16 representations of the TraceId into the dest beginning at the destOffset offset.
copyTraceFlagsHexTo(char[], int) - Method in class io.opentelemetry.trace.SpanContext
 
create(String, String, EntryMetadata) - Static method in class io.opentelemetry.baggage.Entry
Creates an Entry from the given key, value and metadata.
create(EntryMetadata.EntryTtl) - Static method in class io.opentelemetry.baggage.EntryMetadata
Creates an EntryMetadata with the given EntryMetadata.EntryTtl.
create() - Method in interface io.opentelemetry.baggage.spi.BaggageManagerFactory
Creates a new BaggageManager instance.
create() - Method in interface io.opentelemetry.metrics.spi.MeterProviderFactory
Creates a new meter registry instance.
create(SpanContext) - Static method in class io.opentelemetry.trace.DefaultSpan
Creates an instance of this class with the SpanContext.
create(String, String, byte, 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(String, String, byte, 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(Baggage) - Static method in class io.opentelemetry.baggage.BaggageUtils
Returns a new Scope encapsulating the provided Baggage 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

DB_CONNECTION_STRING - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The connection string used to connect to the database.
DB_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Database name.
DB_OPERATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Database operation that is being executed.
DB_STATEMENT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Database statement for the given database type.
DB_SYSTEM - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
An identifier for the database management system (DBMS) product being used.
DB_USER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Username for accessing database.
DefaultBaggageManager - Class in io.opentelemetry.baggage
No-op implementations of BaggageManager.
DefaultBaggageManager() - Constructor for class io.opentelemetry.baggage.DefaultBaggageManager
 
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
 
doubleArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for List<Double> valued attributes.
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.
doubleKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for Double valued attributes.
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.
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.
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.
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

empty() - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with no attributes.
empty() - Static method in class io.opentelemetry.common.Labels
Returns a Labels instance with no attributes.
EmptyBaggage - Class in io.opentelemetry.baggage
An immutable implementation of the Baggage 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.baggage
String-String key-value pair, along with EntryMetadata.
EntryMetadata - Class in io.opentelemetry.baggage
EntryMetadata contains properties associated with an Entry.
EntryMetadata.EntryTtl - Enum in io.opentelemetry.baggage
EntryMetadata.EntryTtl is an integer that represents number of hops an entry can propagate.
EXCEPTION_ESCAPED - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A boolean which SHOULD be set to true if the exception is recorded at a point where it is known that it is escaping the scope of the span (used on exception events).
EXCEPTION_EVENT_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The name of an event describing an exception.
EXCEPTION_MESSAGE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The exception message (used on exception events).
EXCEPTION_STACKTRACE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A string representing the stacktrace of an exception, as produced by Throwable.printStackTrace() (used on exception events).
EXCEPTION_TYPE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The type of the exception, i.e., it's fully qualified name (used on exception events).
extract(Context, C, TextMapPropagator.Getter<C>) - Method in class io.opentelemetry.trace.propagation.HttpTraceContext
 

F

FAAS_COLDSTART - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Indicates that the serverless function is executed for the first time (aka cold start).
FAAS_CRON - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For faas.trigger == time, a string containing the schedule period as Cron Expression.
FAAS_DOCUMENT_COLLECTION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For faas.trigger == datasource, the name of the source on which the operation was perfomed.
FAAS_DOCUMENT_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For faas.trigger == datasource, the document name/table subjected to the operation.
FAAS_DOCUMENT_OPERATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For faas.trigger == datasource, describes the type of the operation that was performed on the data.
FAAS_DOCUMENT_TIME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For faas.trigger == datasource, a string containing the time when the data was accessed in the ISO 8601 format expressed in UTC.
FAAS_EXECUTION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
String containing the execution id of the function.
FAAS_INVOKED_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The name of the invoked function.
FAAS_INVOKED_PROVIDER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The cloud provider of the invoked function.
FAAS_INVOKED_REGION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The cloud region of the invoked function.
FAAS_TIME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For faas.trigger == time, a string containing the function invocation time in the ISO 8601 format expressed in UTC.
FAAS_TRIGGER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Type of the trigger on which the function is executed.
fields() - Method in class io.opentelemetry.trace.propagation.HttpTraceContext
 
forEach(AttributeConsumer) - Method in class io.opentelemetry.common.Attributes
 
forEach(LabelConsumer) - Method in class io.opentelemetry.common.Labels
 
forEach(AttributeConsumer) - Method in interface io.opentelemetry.common.ReadableAttributes
Iterates over all the key-value pairs of attributes contained by this instance.
fromLong(long) - Static method in class io.opentelemetry.trace.SpanId
Generate a valid SpanId from the given long value.
fromLongs(long, long) - Static method in class io.opentelemetry.trace.TraceId
Constructs a TraceId whose representation is specified by two long values representing the lower and higher parts.

G

get(AttributeKey<T>) - Method in class io.opentelemetry.common.Attributes
 
get(AttributeKey<T>) - Method in interface io.opentelemetry.common.ReadableAttributes
 
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.
getBaggage(Context) - Static method in class io.opentelemetry.baggage.BaggageUtils
Returns the Baggage from the specified Context, falling back to an empty Baggage.
getBaggageManager() - Static method in class io.opentelemetry.OpenTelemetry
Returns a singleton BaggageManager.
getBaggageWithoutDefault(Context) - Static method in class io.opentelemetry.baggage.BaggageUtils
Returns the Baggage from the specified Context.
getContext() - Method in class io.opentelemetry.trace.DefaultSpan
 
getContext() - Method in interface io.opentelemetry.trace.Span
Returns the SpanContext associated with this Span.
getCurrentBaggage() - Method in interface io.opentelemetry.baggage.BaggageManager
Returns the current Baggage.
getCurrentBaggage() - Static method in class io.opentelemetry.baggage.BaggageUtils
Returns the Baggage from the current context, falling back to an empty Baggage.
getCurrentBaggage() - Method in class io.opentelemetry.baggage.DefaultBaggageManager
 
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.
getEndTimestamp() - Method in class io.opentelemetry.trace.EndSpanOptions
Returns the end timestamp.
getEntries() - Method in interface io.opentelemetry.baggage.Baggage
Returns an immutable collection of the entries in this Baggage.
getEntries() - Method in class io.opentelemetry.baggage.EmptyBaggage
 
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.baggage.Entry
Returns the EntryMetadata associated with this Entry.
getEntryTtl() - Method in class io.opentelemetry.baggage.EntryMetadata
getEntryValue(String) - Method in interface io.opentelemetry.baggage.Baggage
Returns the String associated with the given key.
getEntryValue(String) - Method in class io.opentelemetry.baggage.EmptyBaggage
 
getHexLength() - Static method in class io.opentelemetry.trace.SpanId
Returns the length of the base16 (hex) representation of the SpanId.
getHexLength() - Static method in class io.opentelemetry.trace.TraceFlags
Returns the size in Hex of trace flags.
getHexLength() - Static method in class io.opentelemetry.trace.TraceId
Returns the length of the base16 (hex) representation of the TraceId.
getInstance() - Static method in class io.opentelemetry.baggage.DefaultBaggageManager
Returns a BaggageManager singleton that is the default implementation for BaggageManager.
getInstance() - Static method in class io.opentelemetry.baggage.EmptyBaggage
Returns the single instance of the EmptyBaggage 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.
getInstance() - Static method in class io.opentelemetry.trace.propagation.HttpTraceContext
 
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.baggage.Entry
Returns the entry's key.
getKey() - Method in interface io.opentelemetry.common.AttributeKey
Returns the underlying String representation of the key.
getKey() - Method in class io.opentelemetry.trace.TraceState.Entry
Returns the key String.
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.
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.
getSampled() - Static method in class io.opentelemetry.trace.TraceFlags
 
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.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.
getSpanIdAsHexString() - Method in class io.opentelemetry.trace.SpanContext
Returns the span identifier associated with this SpanContext.
getSpanIdBytes() - Method in class io.opentelemetry.trace.SpanContext
Returns the byte[] representation of the span identifier associated with this SpanContext.
getSpanWithoutDefault(Context) - Static method in class io.opentelemetry.trace.TracingContextUtils
Returns the Span from the specified Context.
getTraceFlags() - Method in class io.opentelemetry.trace.SpanContext
The byte-representation of TraceFlags.
getTraceIdAsHexString() - Method in class io.opentelemetry.trace.SpanContext
Returns the trace identifier associated with this SpanContext.
getTraceIdBytes() - Method in class io.opentelemetry.trace.SpanContext
Returns the byte[] representation of the trace identifier associated with this SpanContext.
getTraceIdRandomPart(CharSequence) - Static method in class io.opentelemetry.trace.TraceId
Returns the rightmost 8 bytes of the trace-id as a long value.
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.
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 interface io.opentelemetry.common.AttributeKey
Returns the type of attribute for this key.
getValue() - Method in class io.opentelemetry.baggage.Entry
Returns the entry's value.
getValue() - Method in class io.opentelemetry.trace.TraceState.Entry
Returns the value String.
GRPC_MESSAGE_COMPRESSED_SIZE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
gRPC span event attribute for compressed size of a message.
GRPC_MESSAGE_EVENT_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The name of a gRPC span event to populate for each message sent / received.
GRPC_MESSAGE_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
gRPC span event attribute starting from 1 for each of sent messages and received messages.
GRPC_MESSAGE_TYPE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
gRPC span event attribute with value "SENT" or "RECEIVED".
GRPC_MESSAGE_UNCOMPRESSED_SIZE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
gRPC span event attribute for uncompressed size of a message.

H

HBASE_NAMESPACE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For db.system == hbase, the namespace being accessed.
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_REQUEST_CONTENT_LENGTH - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The size of the request payload body, in bytes.
HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The size of the uncompressed request payload body, in bytes.
HTTP_RESPONSE_CONTENT_LENGTH - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The size of the response payload body, in bytes.
HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The size of the uncompressed response payload body, in bytes.
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_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.

I

inject(Context, C, TextMapPropagator.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.
io.opentelemetry - package io.opentelemetry
 
io.opentelemetry.baggage - package io.opentelemetry.baggage
API for associating entries with scoped operations.
io.opentelemetry.baggage.spi - package io.opentelemetry.baggage.spi
 
io.opentelemetry.common - package io.opentelemetry.common
This package contains code common across the OpenTelemetry APIs, including Attributes and classes/utilities for interacting with them.
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
 
isEmpty() - Method in interface io.opentelemetry.common.ReadableAttributes
Whether there are any attributes contained in this.
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.SpanContext
Whether the span in this context is sampled.
isSampledFromHex(CharSequence, int) - Static method in class io.opentelemetry.trace.TraceFlags
Extract the sampled flag from hex-based trace-flags.
isValid() - Method in class io.opentelemetry.trace.SpanContext
Returns true if this SpanContext is valid.
isValid(String) - Static method in class io.opentelemetry.trace.SpanId
Returns whether the span identifier is valid.
isValid(CharSequence) - Static method in class io.opentelemetry.trace.TraceId
Returns whether the TraceId is valid.

J

JDBC_DRIVER_CLASSNAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For JDBC clients, the fully-qualified class name of the Java Database Connectivity (JDBC) driver used to connect, e.g.

L

LabelConsumer - Interface in io.opentelemetry.common
Convenience interface for consuming Labels.
Labels - Class in io.opentelemetry.common
An immutable container for labels, which are pairs of String.
Labels() - Constructor for class io.opentelemetry.common.Labels
 
Labels.Builder - Class in io.opentelemetry.common
Enables the creation of an Labels instance with an arbitrary number of key-value pairs.
longArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for List<Long> valued attributes.
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.
longKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for Long valued attributes.
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.
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.
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.
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_KEY_LENGTH - Static variable in class io.opentelemetry.baggage.Entry
The maximum length for an entry key name.
MAX_VALUE_LENGTH - Static variable in class io.opentelemetry.baggage.Entry
The maximum length for a entry value.
MAX_VENDOR_ID_SIZE - Static variable in class io.opentelemetry.trace.TraceState
 
MESSAGING_CONVERSATION_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A value identifying the conversation to which the message belongs, represented as a string.
MESSAGING_DESTINATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The message destination name, e.g.
MESSAGING_DESTINATION_KIND - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The kind of message destination.
MESSAGING_MESSAGE_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A value used by the messaging system as an identifier for the message, represented as a string.
MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The compressed size of the message payload in bytes.
MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The (uncompressed) size of the message payload in bytes.
MESSAGING_OPERATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A string identifying which part and kind of message consumption this span describes: either "receive" or "process".
MESSAGING_PROTOCOL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The name of the transport protocol such as AMQP or MQTT.
MESSAGING_PROTOCOL_VERSION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The version of the transport protocol such as 0.9.1.
MESSAGING_SYSTEM - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A string identifying the messaging system such as kafka, rabbitmq or activemq.
MESSAGING_TEMP_DESTINATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A boolean that is true if the message destination is temporary.
MESSAGING_URL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Connection string such as tibjmsnaming://localhost:7222 or https://queue.amazonaws.com/80398EXAMPLE/MyQueue
METADATA_UNLIMITED_PROPAGATION - Static variable in class io.opentelemetry.baggage.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.
MONGODB_COLLECTION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For db.system == mongodb, the collection being accessed within the database stated in db.name
MSSQL_SQL_SERVER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For db.system == mssql, the instance name connecting to.

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.
newBuilder() - Static method in class io.opentelemetry.common.Attributes
Returns a new Attributes.Builder instance for creating arbitrary Attributes.
newBuilder(ReadableAttributes) - Static method in class io.opentelemetry.common.Attributes
Returns a new Attributes.Builder instance from ReadableAttributes.
newBuilder() - Static method in class io.opentelemetry.common.Labels
Creates a new Labels.Builder instance for creating arbitrary Labels.

O

observe(double, Labels) - Method in interface io.opentelemetry.metrics.AsynchronousInstrument.DoubleResult
 
observe(long, Labels) - Method in interface io.opentelemetry.metrics.AsynchronousInstrument.LongResult
 
of(AttributeKey<T>, T) - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with a single key-value pair.
of(AttributeKey<T>, T, AttributeKey<U>, U) - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with two key-value pairs.
of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V) - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with three key-value pairs.
of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V, AttributeKey<W>, W) - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with four key-value pairs.
of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V, AttributeKey<W>, W, AttributeKey<X>, X) - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with five key-value pairs.
of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V, AttributeKey<W>, W, AttributeKey<X>, X, AttributeKey<Y>, Y) - Static method in class io.opentelemetry.common.Attributes
Returns a Attributes instance with the given key-value pairs.
of(String, String) - Static method in class io.opentelemetry.common.Labels
Returns a Labels instance with a single key-value pair.
of(String, String, String, String) - Static method in class io.opentelemetry.common.Labels
Returns a Labels instance with two key-value pairs.
of(String, String, String, String, String, String) - Static method in class io.opentelemetry.common.Labels
Returns a Labels instance with three key-value pairs.
of(String, String, String, String, String, String, String, String) - Static method in class io.opentelemetry.common.Labels
Returns a Labels instance with four key-value pairs.
of(String, String, String, String, String, String, String, String, String, String) - Static method in class io.opentelemetry.common.Labels
Returns a Labels instance with five key-value pairs.
of(String[]) - Static method in class io.opentelemetry.common.Labels
 
OpenTelemetry - Class in io.opentelemetry
This class provides a static global accessor for telemetry objects Tracer, Meter and BaggageManager.

P

PEER_SERVICE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Logical name of a remote service.
put(String, String, EntryMetadata) - Method in interface io.opentelemetry.baggage.Baggage.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

ReadableAttributes - Interface in io.opentelemetry.common
A read-only container for String-keyed attributes.
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, Labels) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
Records the given measurement, associated with the current Context and provided set of labels.
record(double) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
Records the given measurement, associated with the current Context and empty labels.
record(long) - Method in interface io.opentelemetry.metrics.LongValueRecorder.BoundLongValueRecorder
Records the given measurement, associated with the current Context.
record(long, Labels) - Method in interface io.opentelemetry.metrics.LongValueRecorder
Records the given measurement, associated with the current Context and provided set of labels.
record(long) - Method in interface io.opentelemetry.metrics.LongValueRecorder
Records the given measurement, associated with the current Context and empty labels.
recordException(Throwable) - Method in class io.opentelemetry.trace.DefaultSpan
 
recordException(Throwable, Attributes) - Method in class io.opentelemetry.trace.DefaultSpan
 
recordException(Throwable) - Method in interface io.opentelemetry.trace.Span
Records information about the Throwable to the Span.
recordException(Throwable, Attributes) - Method in interface io.opentelemetry.trace.Span
Records information about the Throwable to the Span.
REDIS_DATABASE_INDEX - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
For db.system == redis, the index of the database being accessed as used in the SELECT command, provided as an integer.
remove(String) - Method in interface io.opentelemetry.baggage.Baggage.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.
RPC_METHOD - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
 
RPC_SERVICE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
The full name of the service being called, including its package name, if applicable.
RPC_SYSTEM - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
A string identifying the remoting system, e.g., "grpc", "java_rmi" or "wcf".

S

SemanticAttributes - Class in io.opentelemetry.trace.attributes
Defines constants for all attribute names defined in the OpenTelemetry Semantic Conventions specifications.
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(AttributeKey<Long>, int) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a AttributeKey with associated value into this.
setAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a AttributeKey with associated value into this.
setAttribute(String, String) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a String attribute into this.
setAttribute(String, long) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a long attribute into this.
setAttribute(String, double) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a double attribute into this.
setAttribute(String, boolean) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a boolean attribute into this.
setAttribute(String, String...) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a String array attribute into this.
setAttribute(String, Long...) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a Long array attribute into this.
setAttribute(String, Double...) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a Double array attribute into this.
setAttribute(String, Boolean...) - Method in class io.opentelemetry.common.Attributes.Builder
Sets a Boolean array attribute into this.
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(AttributeKey<T>, T) - 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(AttributeKey<T>, T) - 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(AttributeKey<T>, T) - Method in interface io.opentelemetry.trace.Span
Sets an attribute to the Span.
setAttribute(AttributeKey<Long>, int) - 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<AsynchronousInstrument.DoubleResult>) - Method in interface io.opentelemetry.metrics.DoubleSumObserver
 
setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.DoubleResult>) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver
 
setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.DoubleResult>) - Method in interface io.opentelemetry.metrics.DoubleValueObserver
 
setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.LongResult>) - Method in interface io.opentelemetry.metrics.LongSumObserver
 
setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.LongResult>) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver
 
setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.LongResult>) - Method in interface io.opentelemetry.metrics.LongValueObserver
 
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.
setLabel(String, String) - Method in class io.opentelemetry.common.Labels.Builder
Sets a single label into this Builder.
setNoParent() - Method in interface io.opentelemetry.baggage.Baggage.Builder
Sets the option to become a root Baggage 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(Baggage) - Method in interface io.opentelemetry.baggage.Baggage.Builder
Sets the parent Baggage to use.
setParent(Context) - Method in interface io.opentelemetry.baggage.Baggage.Builder
Sets the parent Baggage to use from the specified Context.
setParent(Context) - Method in interface io.opentelemetry.trace.Span.Builder
Sets the parent to use from the specified Context.
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(StatusCanonicalCode) - Method in class io.opentelemetry.trace.DefaultSpan
 
setStatus(StatusCanonicalCode, String) - Method in class io.opentelemetry.trace.DefaultSpan
 
setStatus(StatusCanonicalCode) - Method in interface io.opentelemetry.trace.Span
Sets the status to the Span.
setStatus(StatusCanonicalCode, String) - 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
 
size() - Method in interface io.opentelemetry.common.ReadableAttributes
The number of attributes contained in this.
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
Helper methods for dealing with a span identifier.
startSpan() - Method in interface io.opentelemetry.trace.Span.Builder
Starts a new Span.
StatusCanonicalCode - Enum in io.opentelemetry.trace
The set of canonical status codes.
stringArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for List<String> valued attributes.
stringKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
Returns a new AttributeKey for String valued attributes.
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

THREAD_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Id of the thread that has started a span, as produced by Thread.getId().
THREAD_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
Name of the thread that has started a span, as produced by Thread.getName().
toBuilder() - Method in class io.opentelemetry.common.Attributes
Returns a new Attributes.Builder instance populated with the data of this Attributes.
toBuilder() - Method in class io.opentelemetry.common.Labels
Create a Labels.Builder pre-populated with the contents of this Labels instance.
toBuilder() - Method in class io.opentelemetry.trace.TraceState
Returns a Builder based on this TraceState.
toString() - Method in class io.opentelemetry.trace.DefaultSpan
 
TraceFlags - Class in io.opentelemetry.trace
Helper methods for dealing with trace flags options.
TraceId - Class in io.opentelemetry.trace
Helper methods for dealing with a trace identifier.
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

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.
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.StatusCanonicalCode
Returns the numerical value of the code.
valueOf(String) - Static method in enum io.opentelemetry.baggage.EntryMetadata.EntryTtl
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.common.AttributeType
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.StatusCanonicalCode
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.opentelemetry.baggage.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.common.AttributeType
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.StatusCanonicalCode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withBaggage(Baggage, Context) - Static method in class io.opentelemetry.baggage.BaggageUtils
Creates a new Context with the given value set.
withContext(Baggage) - Method in interface io.opentelemetry.baggage.BaggageManager
Enters the scope of code where the given Baggage is in the current context (replacing the previous Baggage) and returns an object that represents that scope.
withContext(Baggage) - Method in class io.opentelemetry.baggage.DefaultBaggageManager
 
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 J L M N O P R S T U V W 
Skip navigation links