Index
All Classes and Interfaces|All Packages
A
- add(double) - Method in interface io.opentelemetry.api.metrics.DoubleCounter
-
Records a value.
- add(double) - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounter
-
Records a value.
- add(double, Attributes) - Method in interface io.opentelemetry.api.metrics.DoubleCounter
-
Records a value with a set of attributes.
- add(double, Attributes) - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounter
-
Records a value with a set of attributes.
- add(double, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.DoubleCounter
-
Records a value with a set of attributes.
- add(double, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounter
-
Records a value with a set of attributes.
- add(long) - Method in interface io.opentelemetry.api.metrics.LongCounter
-
Records a value.
- add(long) - Method in interface io.opentelemetry.api.metrics.LongUpDownCounter
-
Records a value.
- add(long, Attributes) - Method in interface io.opentelemetry.api.metrics.LongCounter
-
Records a value with a set of attributes.
- add(long, Attributes) - Method in interface io.opentelemetry.api.metrics.LongUpDownCounter
-
Record a value with a set of attributes.
- add(long, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.LongCounter
-
Records a value with a set of attributes.
- add(long, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.LongUpDownCounter
-
Records a value with a set of attributes.
- addEvent(String) - Method in interface io.opentelemetry.api.trace.Span
-
Adds an event to the
Span
. - addEvent(String, long, TimeUnit) - Method in interface io.opentelemetry.api.trace.Span
-
Adds an event to the
Span
with the giventimestamp
, as nanos since epoch. - addEvent(String, Attributes) - Method in interface io.opentelemetry.api.trace.Span
-
Adds an event to the
Span
with the givenAttributes
. - addEvent(String, Attributes, long, TimeUnit) - Method in interface io.opentelemetry.api.trace.Span
- addEvent(String, Attributes, Instant) - Method in interface io.opentelemetry.api.trace.Span
- addEvent(String, Instant) - Method in interface io.opentelemetry.api.trace.Span
-
Adds an event to the
Span
with the giventimestamp
, as nanos since epoch. - addLink(SpanContext) - Method in interface io.opentelemetry.api.trace.Span
-
Adds a link to this
Span
. - addLink(SpanContext) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Adds a link to the newly created
Span
. - addLink(SpanContext, Attributes) - Method in interface io.opentelemetry.api.trace.Span
-
Adds a link to this
Span
. - addLink(SpanContext, Attributes) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Adds a link to the newly created
Span
. - ARRAY - Enum constant in enum io.opentelemetry.api.common.ValueType
- asByte() - Method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the byte representation of this
TraceFlags
. - asHex() - Method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the lowercase hex (base16) representation of this
TraceFlags
. - asMap() - Method in interface io.opentelemetry.api.baggage.Baggage
- asMap() - Method in interface io.opentelemetry.api.common.Attributes
-
Returns a read-only view of this
Attributes
as aMap
. - asMap() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns a read-only view of this
TraceState
as aMap
. - asString() - Method in interface io.opentelemetry.api.common.Value
-
Return a string encoding of this
Value
. - AttributeKey<T> - Interface in io.opentelemetry.api.common
-
This interface provides a handle for setting the values of
Attributes
. - Attributes - Interface in io.opentelemetry.api.common
-
An immutable container for attributes.
- AttributesBuilder - Interface in io.opentelemetry.api.common
-
A builder of
Attributes
supporting an arbitrary number of key-value pairs. - AttributeType - Enum in io.opentelemetry.api.common
-
An enum that represents all the possible value types for an
AttributeKey
and hence the types of values that are allowed forAttributes
.
B
- Baggage - Interface in io.opentelemetry.api.baggage
-
A map from
String
toBaggageEntry
that can be used to label anything that is associated with a specific operation. - BaggageBuilder - Interface in io.opentelemetry.api.baggage
-
A builder of
Baggage
. - BaggageEntry - Interface in io.opentelemetry.api.baggage
-
An entry in a set of baggage.
- BaggageEntryMetadata - Interface in io.opentelemetry.api.baggage
-
Metadata associated with an
BaggageEntry
. - batchCallback(Runnable, ObservableMeasurement, ObservableMeasurement...) - Method in interface io.opentelemetry.api.metrics.Meter
-
Constructs a batch callback.
- BatchCallback - Interface in io.opentelemetry.api.metrics
-
A reference to a batch callback registered via
Meter.batchCallback(Runnable, ObservableMeasurement, ObservableMeasurement...)
. - BOOLEAN - Enum constant in enum io.opentelemetry.api.common.AttributeType
- BOOLEAN - Enum constant in enum io.opentelemetry.api.common.ValueType
- BOOLEAN_ARRAY - Enum constant in enum io.opentelemetry.api.common.AttributeType
- booleanArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<Boolean> valued attributes.
- booleanKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Boolean valued attributes.
- build() - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Creates a
Baggage
from this builder. - build() - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Create the
Attributes
from this. - build() - Method in interface io.opentelemetry.api.logs.LoggerBuilder
-
Gets or creates a
Logger
instance. - build() - Method in interface io.opentelemetry.api.metrics.DoubleCounterBuilder
-
Builds and returns a Counter instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.DoubleGaugeBuilder
-
Builds and returns a DoubleGauge instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
-
Builds and returns a Histogram instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounterBuilder
-
Builds and returns an UpDownCounter instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.LongCounterBuilder
-
Builds and returns a Counter instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.LongGaugeBuilder
-
Builds and returns a LongGauge instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.LongHistogramBuilder
-
Builds and returns a Histogram instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.LongUpDownCounterBuilder
-
Builds and returns an UpDownCounter instrument with the configuration.
- build() - Method in interface io.opentelemetry.api.metrics.MeterBuilder
-
Gets or creates a
Meter
instance. - build() - Method in interface io.opentelemetry.api.trace.TracerBuilder
-
Gets or creates a
Tracer
instance. - build() - Method in interface io.opentelemetry.api.trace.TraceStateBuilder
-
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 interface io.opentelemetry.api.baggage.Baggage
-
Creates a new
BaggageBuilder
for creating Baggage. - builder() - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a new
AttributesBuilder
instance for creating arbitraryAttributes
. - builder() - Static method in interface io.opentelemetry.api.trace.TraceState
-
Returns an empty
TraceStateBuilder
. - buildObserver() - Method in interface io.opentelemetry.api.metrics.DoubleCounterBuilder
-
Build an observer for this instrument to observe values from a
BatchCallback
. - buildObserver() - Method in interface io.opentelemetry.api.metrics.DoubleGaugeBuilder
-
Build an observer for this instrument to observe values from a
BatchCallback
. - buildObserver() - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounterBuilder
-
Build an observer for this instrument to observe values from a
BatchCallback
. - buildObserver() - Method in interface io.opentelemetry.api.metrics.LongCounterBuilder
-
Build an observer for this instrument to observe values from a
BatchCallback
. - buildObserver() - Method in interface io.opentelemetry.api.metrics.LongGaugeBuilder
-
Build an observer for this instrument to observe values from a
BatchCallback
. - buildObserver() - Method in interface io.opentelemetry.api.metrics.LongUpDownCounterBuilder
-
Build an observer for this instrument to observe values from a
BatchCallback
. - buildWithCallback(Consumer<ObservableDoubleMeasurement>) - Method in interface io.opentelemetry.api.metrics.DoubleCounterBuilder
-
Builds an Asynchronous Counter instrument with the given callback.
- buildWithCallback(Consumer<ObservableDoubleMeasurement>) - Method in interface io.opentelemetry.api.metrics.DoubleGaugeBuilder
-
Builds an Asynchronous Gauge instrument with the given callback.
- buildWithCallback(Consumer<ObservableDoubleMeasurement>) - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounterBuilder
-
Builds an Asynchronous UpDownCounter instrument with the given callback.
- buildWithCallback(Consumer<ObservableLongMeasurement>) - Method in interface io.opentelemetry.api.metrics.LongCounterBuilder
-
Builds an Asynchronous Counter instrument with the given callback.
- buildWithCallback(Consumer<ObservableLongMeasurement>) - Method in interface io.opentelemetry.api.metrics.LongGaugeBuilder
-
Builds an Asynchronous Gauge instrument with the given callback.
- buildWithCallback(Consumer<ObservableLongMeasurement>) - Method in interface io.opentelemetry.api.metrics.LongUpDownCounterBuilder
-
Builds an Asynchronous UpDownCounter instrument with the given callback.
- BYTES - Enum constant in enum io.opentelemetry.api.common.ValueType
C
- CLIENT - Enum constant in enum io.opentelemetry.api.trace.SpanKind
-
Indicates that the span covers the client-side wrapper around an RPC or other remote request.
- close() - Method in interface io.opentelemetry.api.metrics.BatchCallback
-
Remove the callback registered via
Meter.batchCallback(Runnable, ObservableMeasurement, ObservableMeasurement...)
. - close() - Method in interface io.opentelemetry.api.metrics.ObservableDoubleCounter
-
Remove the callback registered via
DoubleCounterBuilder.buildWithCallback(Consumer)
. - close() - Method in interface io.opentelemetry.api.metrics.ObservableDoubleGauge
-
Remove the callback registered via
DoubleGaugeBuilder.buildWithCallback(Consumer)
. - close() - Method in interface io.opentelemetry.api.metrics.ObservableDoubleUpDownCounter
-
Remove the callback registered via
DoubleUpDownCounterBuilder.buildWithCallback(Consumer)
. - close() - Method in interface io.opentelemetry.api.metrics.ObservableLongCounter
-
Remove the callback registered via
LongCounterBuilder.buildWithCallback(Consumer)
. - close() - Method in interface io.opentelemetry.api.metrics.ObservableLongGauge
-
Remove the callback registered via
LongGaugeBuilder.buildWithCallback(Consumer)
. - close() - Method in interface io.opentelemetry.api.metrics.ObservableLongUpDownCounter
-
Remove the callback registered via
LongUpDownCounterBuilder.buildWithCallback(Consumer)
. - CONSUMER - Enum constant in enum io.opentelemetry.api.trace.SpanKind
-
Indicates that the span describes consumer receiving a message from a broker.
- counterBuilder(String) - Method in interface io.opentelemetry.api.metrics.Meter
-
Constructs a Counter instrument.
- create(String) - Static method in interface io.opentelemetry.api.baggage.BaggageEntryMetadata
-
Returns a new
BaggageEntryMetadata
with the given value. - create(String, String, TraceFlags, TraceState) - Static method in interface io.opentelemetry.api.trace.SpanContext
-
Creates a new
SpanContext
with the given identifiers and options. - createFromRemoteParent(String, String, TraceFlags, TraceState) - Static method in interface io.opentelemetry.api.trace.SpanContext
-
Creates a new
SpanContext
that was propagated from a remote parent, with the given identifiers and options. - current() - Static method in interface io.opentelemetry.api.baggage.Baggage
-
Returns Baggage from the current
Context
, falling back to empty Baggage if none is in the current Context. - current() - Static method in interface io.opentelemetry.api.trace.Span
D
- DEBUG - Enum constant in enum io.opentelemetry.api.logs.Severity
- DEBUG2 - Enum constant in enum io.opentelemetry.api.logs.Severity
- DEBUG3 - Enum constant in enum io.opentelemetry.api.logs.Severity
- DEBUG4 - Enum constant in enum io.opentelemetry.api.logs.Severity
- DOUBLE - Enum constant in enum io.opentelemetry.api.common.AttributeType
- DOUBLE - Enum constant in enum io.opentelemetry.api.common.ValueType
- DOUBLE_ARRAY - Enum constant in enum io.opentelemetry.api.common.AttributeType
- doubleArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<Double> valued attributes.
- DoubleCounter - Interface in io.opentelemetry.api.metrics
-
A Counter instrument that records
double
values. - DoubleCounterBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for
DoubleCounter
. - DoubleGauge - Interface in io.opentelemetry.api.metrics
-
A gauge instrument that synchronously records
double
values. - DoubleGaugeBuilder - Interface in io.opentelemetry.api.metrics
-
A builder for Gauge metric types.
- DoubleHistogram - Interface in io.opentelemetry.api.metrics
-
A Histogram instrument that records
double
values. - DoubleHistogramBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for
DoubleHistogram
. - doubleKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Double valued attributes.
- DoubleUpDownCounter - Interface in io.opentelemetry.api.metrics
-
An UpDownCounter instrument that records
double
values. - DoubleUpDownCounterBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for
DoubleUpDownCounter
.
E
- emit() - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Emit the log record.
- empty() - Static method in interface io.opentelemetry.api.baggage.Baggage
-
Baggage with no entries.
- empty() - Static method in interface io.opentelemetry.api.baggage.BaggageEntryMetadata
-
Returns an empty
BaggageEntryMetadata
. - empty() - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with no attributes. - end() - Method in interface io.opentelemetry.api.trace.Span
-
Marks the end of
Span
execution. - end(long, TimeUnit) - Method in interface io.opentelemetry.api.trace.Span
-
Marks the end of
Span
execution with the specified timestamp. - end(Instant) - Method in interface io.opentelemetry.api.trace.Span
-
Marks the end of
Span
execution with the specified timestamp. - ERROR - Enum constant in enum io.opentelemetry.api.logs.Severity
- ERROR - Enum constant in enum io.opentelemetry.api.trace.StatusCode
-
The operation contains an error.
- ERROR2 - Enum constant in enum io.opentelemetry.api.logs.Severity
- ERROR3 - Enum constant in enum io.opentelemetry.api.logs.Severity
- ERROR4 - Enum constant in enum io.opentelemetry.api.logs.Severity
- extract(Context, C, TextMapGetter<C>) - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- extract(Context, C, TextMapGetter<C>) - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
F
- FATAL - Enum constant in enum io.opentelemetry.api.logs.Severity
- FATAL2 - Enum constant in enum io.opentelemetry.api.logs.Severity
- FATAL3 - Enum constant in enum io.opentelemetry.api.logs.Severity
- FATAL4 - Enum constant in enum io.opentelemetry.api.logs.Severity
- fields() - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- fields() - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
- forEach(BiConsumer<? super AttributeKey<?>, ? super Object>) - Method in interface io.opentelemetry.api.common.Attributes
-
Iterates over all the key-value pairs of attributes contained by this instance.
- forEach(BiConsumer<? super String, ? super BaggageEntry>) - Method in interface io.opentelemetry.api.baggage.Baggage
-
Iterates over all the entries in this
Baggage
. - forEach(BiConsumer<String, String>) - Method in interface io.opentelemetry.api.trace.TraceState
-
Iterates over all the key-value entries contained in this
TraceState
. - fromByte(byte) - Static method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the
TraceFlags
converted from the given byte representation. - fromBytes(byte[]) - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the lowercase hex (base16) representation of the
SpanId
converted from the given bytes representation, orSpanId.getInvalid()
if input isnull
or the given byte array is too short. - fromBytes(byte[]) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the lowercase hex (base16) representation of the
TraceId
converted from the given bytes representation, orTraceId.getInvalid()
if input isnull
or the given byte array is too short. - fromContext(Context) - Static method in interface io.opentelemetry.api.baggage.Baggage
- fromContext(Context) - Static method in interface io.opentelemetry.api.trace.Span
- fromContextOrNull(Context) - Static method in interface io.opentelemetry.api.baggage.Baggage
- fromContextOrNull(Context) - Static method in interface io.opentelemetry.api.trace.Span
- fromHex(CharSequence, int) - Static method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the
TraceFlags
converted from the given lowercase hex (base16) representation. - fromLong(long) - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the lowercase hex (base16) representation of the
SpanId
converted from the givenlong
value representation. - fromLongs(long, long) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the bytes (16-byte array) representation of the
TraceId
converted from the given twolong
values representing the lower and higher parts.
G
- gaugeBuilder(String) - Method in interface io.opentelemetry.api.metrics.Meter
-
Constructs an Asynchronous Gauge instrument.
- get() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Returns the registered global
OpenTelemetry
. - get(AttributeKey<T>) - Method in interface io.opentelemetry.api.common.Attributes
-
Returns the value for the given
AttributeKey
, ornull
if not found. - get(String) - Method in interface io.opentelemetry.api.logs.LoggerProvider
-
Gets or creates a named Logger instance.
- get(String) - Method in interface io.opentelemetry.api.metrics.MeterProvider
-
Gets or creates a named Meter instance.
- get(String) - Method in interface io.opentelemetry.api.trace.TracerProvider
-
Gets or creates a named tracer instance.
- get(String) - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
- get(String, String) - Method in interface io.opentelemetry.api.trace.TracerProvider
-
Gets or creates a named and versioned tracer instance.
- getDefault() - Static method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the default (with all flag bits off) byte representation of the
TraceFlags
. - getDefault() - Static method in interface io.opentelemetry.api.trace.TraceState
-
Returns the default
TraceState
with no entries. - getEntry(String) - Method in interface io.opentelemetry.api.baggage.Baggage
-
Returns the
BaggageEntry
associated with the given key. - getEntryValue(String) - Method in interface io.opentelemetry.api.baggage.Baggage
-
Returns the
String
value associated with the given key, without metadata. - getInstance() - Static method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
-
Singleton instance of the W3C Baggage Propagator.
- getInstance() - Static method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
-
Returns a singleton instance of a
TextMapPropagator
implementing the W3C TraceContext propagation. - getInvalid() - Static method in interface io.opentelemetry.api.trace.Span
-
Returns an invalid
Span
. - getInvalid() - Static method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the invalid
SpanContext
that can be used for no-op operations. - getInvalid() - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the invalid
SpanId
in lowercase hex (base16) representation. - getInvalid() - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the invalid
TraceId
in lowercase hex (base16) representation. - getKey() - Method in interface io.opentelemetry.api.common.AttributeKey
-
Returns the underlying String representation of the key.
- getKey() - Method in interface io.opentelemetry.api.common.KeyValue
-
Returns the key.
- getLength() - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the length of the lowercase hex (base16) representation of the
SpanId
. - getLength() - Static method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the length of the lowercase hex (base16) representation of the
TraceFlags
. - getLength() - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the length of the lowercase hex (base16) representation of the
TraceId
. - getLogsBridge() - Method in interface io.opentelemetry.api.OpenTelemetry
-
Returns the
LoggerProvider
for bridging logs into OpenTelemetry. - getMetadata() - Method in interface io.opentelemetry.api.baggage.BaggageEntry
-
Returns the entry's
BaggageEntryMetadata
. - getMeter(String) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Gets or creates a named meter instance from the globally registered
MeterProvider
. - getMeter(String) - Method in interface io.opentelemetry.api.OpenTelemetry
-
Gets or creates a named meter instance from the
MeterProvider
for thisOpenTelemetry
. - getMeterProvider() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Returns the globally registered
MeterProvider
. - getMeterProvider() - Method in interface io.opentelemetry.api.OpenTelemetry
-
Returns the
MeterProvider
for thisOpenTelemetry
. - getPropagators() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Returns the globally registered
ContextPropagators
for remote propagation of a context. - getPropagators() - Method in interface io.opentelemetry.api.OpenTelemetry
-
Returns the
ContextPropagators
for thisOpenTelemetry
. - getSampled() - Static method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the lowercase hex (base16) representation of the
TraceFlags
with the sampling flag bit on. - getSeverityNumber() - Method in enum io.opentelemetry.api.logs.Severity
- getSpanContext() - Method in interface io.opentelemetry.api.trace.Span
-
Returns the
SpanContext
associated with thisSpan
. - getSpanId() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the span identifier associated with this
SpanContext
as 16 character lowercase hex String. - getSpanIdBytes() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the span identifier associated with this
SpanContext
as 8-byte array. - getTraceFlags() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the trace flags associated with this
SpanContext
. - getTraceId() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the trace identifier associated with this
SpanContext
as 32 character lowercase hex String. - getTraceIdBytes() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the trace identifier associated with this
SpanContext
as 16-byte array. - getTracer(String) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Gets or creates a named tracer instance from the globally registered
TracerProvider
. - getTracer(String) - Method in interface io.opentelemetry.api.OpenTelemetry
-
Gets or creates a named tracer instance from the
TracerProvider
for thisOpenTelemetry
. - getTracer(String, String) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Gets or creates a named and versioned tracer instance from the globally registered
TracerProvider
. - getTracer(String, String) - Method in interface io.opentelemetry.api.OpenTelemetry
-
Gets or creates a named and versioned tracer instance from the
TracerProvider
in thisOpenTelemetry
. - getTracerProvider() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Returns the globally registered
TracerProvider
. - getTracerProvider() - Method in interface io.opentelemetry.api.OpenTelemetry
-
Returns the
TracerProvider
for thisOpenTelemetry
. - getTraceState() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the
TraceState
associated with thisSpanContext
. - getType() - Method in interface io.opentelemetry.api.common.AttributeKey
-
Returns the type of attribute for this key.
- getType() - Method in interface io.opentelemetry.api.common.Value
-
Returns the type of this
Value
. - getValue() - Method in interface io.opentelemetry.api.baggage.BaggageEntry
-
Returns the entry's value.
- getValue() - Method in interface io.opentelemetry.api.baggage.BaggageEntryMetadata
-
Returns the String value of this
BaggageEntryMetadata
. - getValue() - Method in interface io.opentelemetry.api.common.KeyValue
-
Returns the value.
- getValue() - Method in interface io.opentelemetry.api.common.Value
-
Returns the value for this
Value
. - GlobalOpenTelemetry - Class in io.opentelemetry.api
-
A global singleton for the entrypoint to telemetry functionality for tracing, metrics and baggage.
H
- histogramBuilder(String) - Method in interface io.opentelemetry.api.metrics.Meter
-
Constructs a Histogram instrument.
I
- INFO - Enum constant in enum io.opentelemetry.api.logs.Severity
- INFO2 - Enum constant in enum io.opentelemetry.api.logs.Severity
- INFO3 - Enum constant in enum io.opentelemetry.api.logs.Severity
- INFO4 - Enum constant in enum io.opentelemetry.api.logs.Severity
- inject(Context, C, TextMapSetter<C>) - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- inject(Context, C, TextMapSetter<C>) - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
- INTERNAL - Enum constant in enum io.opentelemetry.api.trace.SpanKind
-
Default value.
- io.opentelemetry.api - package io.opentelemetry.api
-
The OpenTelemetry API.
- io.opentelemetry.api.baggage - package io.opentelemetry.api.baggage
-
API for associating entries with scoped operations.
- io.opentelemetry.api.baggage.propagation - package io.opentelemetry.api.baggage.propagation
-
Default OpenTelemetry remote baggage propagators.
- io.opentelemetry.api.common - package io.opentelemetry.api.common
-
This package contains code common across the OpenTelemetry APIs, including
Attributes
and classes/utilities for interacting with them. - io.opentelemetry.api.logs - package io.opentelemetry.api.logs
-
API for writing log appenders.
- io.opentelemetry.api.metrics - package io.opentelemetry.api.metrics
-
This package describes the Metrics API that can be used to record application Metrics.
- io.opentelemetry.api.trace - package io.opentelemetry.api.trace
-
API for distributed tracing.
- io.opentelemetry.api.trace.propagation - package io.opentelemetry.api.trace.propagation
-
Default OpenTelemetry remote trace propagators.
- isEmpty() - Method in interface io.opentelemetry.api.baggage.Baggage
-
Returns whether this
Baggage
is empty, containing no entries. - isEmpty() - Method in interface io.opentelemetry.api.common.Attributes
-
Whether there are any attributes contained in this.
- isEmpty() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns whether this
TraceState
is empty, containing no entries. - isRecording() - Method in interface io.opentelemetry.api.trace.Span
-
Returns
true
if thisSpan
records tracing events (e.g. - isRemote() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns
true
if theSpanContext
was propagated from a remote parent. - isSampled() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Whether the span in this context is sampled.
- isSampled() - Method in interface io.opentelemetry.api.trace.TraceFlags
- isValid() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns
true
if thisSpanContext
is valid. - isValid(CharSequence) - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns whether the span identifier is valid.
- isValid(CharSequence) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns whether the
TraceId
is valid.
K
- KEY_VALUE_LIST - Enum constant in enum io.opentelemetry.api.common.ValueType
- KeyValue - Interface in io.opentelemetry.api.common
L
- Logger - Interface in io.opentelemetry.api.logs
-
A
Logger
is the entry point into a log pipeline. - loggerBuilder(String) - Method in interface io.opentelemetry.api.logs.LoggerProvider
-
Creates a LoggerBuilder for a named Logger instance.
- LoggerBuilder - Interface in io.opentelemetry.api.logs
-
Builder class for creating
Logger
instances. - LoggerProvider - Interface in io.opentelemetry.api.logs
-
A registry for creating scoped
Logger
s. - logRecordBuilder() - Method in interface io.opentelemetry.api.logs.Logger
-
Return a
LogRecordBuilder
to emit a log record. - LogRecordBuilder - Interface in io.opentelemetry.api.logs
-
Used to construct and emit log records from a
Logger
. - LONG - Enum constant in enum io.opentelemetry.api.common.AttributeType
- LONG - Enum constant in enum io.opentelemetry.api.common.ValueType
- LONG_ARRAY - Enum constant in enum io.opentelemetry.api.common.AttributeType
- longArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<Long> valued attributes.
- LongCounter - Interface in io.opentelemetry.api.metrics
-
A Counter instrument that records
long
values. - LongCounterBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for
LongCounter
. - LongGauge - Interface in io.opentelemetry.api.metrics
-
A gauge instrument that synchronously records
long
values. - LongGaugeBuilder - Interface in io.opentelemetry.api.metrics
-
A builder for Gauge metric types.
- LongHistogram - Interface in io.opentelemetry.api.metrics
-
A Histogram instrument that records
long
values. - LongHistogramBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for
LongHistogram
. - longKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Long valued attributes.
- LongUpDownCounter - Interface in io.opentelemetry.api.metrics
-
An UpDownCounter instrument that records
long
values. - LongUpDownCounterBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for
LongUpDownCounter
.
M
- Meter - Interface in io.opentelemetry.api.metrics
-
Provides instruments used to record measurements which are aggregated to metrics.
- meterBuilder(String) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Creates a MeterBuilder for a named
Meter
instance. - meterBuilder(String) - Method in interface io.opentelemetry.api.metrics.MeterProvider
-
Creates a MeterBuilder for a named Meter instance.
- meterBuilder(String) - Method in interface io.opentelemetry.api.OpenTelemetry
-
Creates a
MeterBuilder
for a namedMeter
instance. - MeterBuilder - Interface in io.opentelemetry.api.metrics
-
Builder class for creating
Meter
instances. - MeterProvider - Interface in io.opentelemetry.api.metrics
-
A registry for creating named
Meter
s.
N
- noop() - Static method in interface io.opentelemetry.api.logs.LoggerProvider
-
Returns a no-op
LoggerProvider
which provides Loggers which do not record or emit. - noop() - Static method in interface io.opentelemetry.api.metrics.MeterProvider
-
Returns a no-op
MeterProvider
which provides meters which do not record or emit. - noop() - Static method in interface io.opentelemetry.api.OpenTelemetry
-
Returns a completely no-op
OpenTelemetry
. - noop() - Static method in interface io.opentelemetry.api.trace.TracerProvider
-
Returns a no-op
TracerProvider
which only creates no-opSpan
s which do not record nor are emitted.
O
- ObservableDoubleCounter - Interface in io.opentelemetry.api.metrics
-
A reference to an observable instrument registered with
DoubleCounterBuilder.buildWithCallback(Consumer)
. - ObservableDoubleGauge - Interface in io.opentelemetry.api.metrics
-
A reference to an observable instrument registered with
DoubleGaugeBuilder.buildWithCallback(Consumer)
. - ObservableDoubleMeasurement - Interface in io.opentelemetry.api.metrics
-
An interface for observing measurements with
double
values. - ObservableDoubleUpDownCounter - Interface in io.opentelemetry.api.metrics
-
A reference to an observable instrument registered with
DoubleUpDownCounterBuilder.buildWithCallback(Consumer)
. - ObservableLongCounter - Interface in io.opentelemetry.api.metrics
-
A reference to an observable instrument registered with
LongCounterBuilder.buildWithCallback(Consumer)
. - ObservableLongGauge - Interface in io.opentelemetry.api.metrics
-
A reference to an observable instrument registered with
LongGaugeBuilder.buildWithCallback(Consumer)
. - ObservableLongMeasurement - Interface in io.opentelemetry.api.metrics
-
An interface for observing measurements with
long
values. - ObservableLongUpDownCounter - Interface in io.opentelemetry.api.metrics
-
A reference to an observable metric registered with
LongUpDownCounterBuilder.buildWithCallback(Consumer)
. - ObservableMeasurement - Interface in io.opentelemetry.api.metrics
-
Super interface for observing measurements.
- of(boolean) - Static method in interface io.opentelemetry.api.common.Value
-
Returns an
Value
for theboolean
value. - of(byte[]) - Static method in interface io.opentelemetry.api.common.Value
-
Returns an
Value
for thebyte[]
value. - of(double) - Static method in interface io.opentelemetry.api.common.Value
-
Returns an
Value
for thedouble
value. - of(long) - Static method in interface io.opentelemetry.api.common.Value
-
Returns an
Value
for thelong
value. - of(AttributeKey<T>, T) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with a single key-value pair. - of(AttributeKey<T>, T, AttributeKey<U>, U) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with two key-value pairs. - of(AttributeKey<T>, T, AttributeKey<U>, U, AttributeKey<V>, V) - Static method in interface io.opentelemetry.api.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 interface io.opentelemetry.api.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 interface io.opentelemetry.api.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 interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributes
instance with the given key-value pairs. - of(KeyValue...) - Static method in interface io.opentelemetry.api.common.Value
- of(Value<?>...) - Static method in interface io.opentelemetry.api.common.Value
- of(String) - Static method in interface io.opentelemetry.api.common.Value
- of(String, Value<?>) - Static method in interface io.opentelemetry.api.common.KeyValue
- of(List<Value<?>>) - Static method in interface io.opentelemetry.api.common.Value
- of(Map<String, Value<?>>) - Static method in interface io.opentelemetry.api.common.Value
- ofDoubles() - Method in interface io.opentelemetry.api.metrics.LongCounterBuilder
-
Sets the Counter for recording
double
values. - ofDoubles() - Method in interface io.opentelemetry.api.metrics.LongUpDownCounterBuilder
-
Sets the Counter for recording
double
values. - ofLongs() - Method in interface io.opentelemetry.api.metrics.DoubleGaugeBuilder
-
Sets the Gauge for recording
long
values. - ofLongs() - Method in interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
-
Sets the Counter for recording
long
values. - OK - Enum constant in enum io.opentelemetry.api.trace.StatusCode
-
The operation has been validated by an Application developers or Operator to have completed successfully.
- OpenTelemetry - Interface in io.opentelemetry.api
-
The entrypoint to telemetry functionality for tracing, metrics and baggage.
P
- PRODUCER - Enum constant in enum io.opentelemetry.api.trace.SpanKind
-
Indicates that the span describes producer sending a message to a broker.
- propagating(ContextPropagators) - Static method in interface io.opentelemetry.api.OpenTelemetry
-
Returns an
OpenTelemetry
which will do remote propagation ofContext
using the providedContextPropagators
and is no-op otherwise. - put(AttributeKey<Long>, int) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a
AttributeKey
with associated value into this. - put(AttributeKey<List<T>>, T...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a List attribute into this.
- put(AttributeKey<T>, T) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a
AttributeKey
with associated value into this. - put(String, boolean) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a boolean attribute into this.
- put(String, boolean...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a Boolean array attribute into this.
- put(String, double) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a double attribute into this.
- put(String, double...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a Double array attribute into this.
- put(String, long) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a long attribute into this.
- put(String, long...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a Long array attribute into this.
- put(String, String) - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Adds the key/value pair with empty metadata regardless of whether the key is present.
- put(String, String) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a String attribute into this.
- put(String, String) - Method in interface io.opentelemetry.api.trace.TraceStateBuilder
-
Adds or updates the
Entry
that has the givenkey
if it is present. - put(String, String...) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a String array attribute into this.
- put(String, String, BaggageEntryMetadata) - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Adds the key/value pair and metadata regardless of whether the key is present.
- putAll(Attributes) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts all the provided attributes into this Builder.
R
- record(double) - Method in interface io.opentelemetry.api.metrics.DoubleHistogram
-
Records a value.
- record(double) - Method in interface io.opentelemetry.api.metrics.ObservableDoubleMeasurement
-
Records a measurement.
- record(double, Attributes) - Method in interface io.opentelemetry.api.metrics.DoubleHistogram
-
Records a value with a set of attributes.
- record(double, Attributes) - Method in interface io.opentelemetry.api.metrics.ObservableDoubleMeasurement
-
Records a measurement with a set of attributes.
- record(double, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.DoubleHistogram
-
Records a value with a set of attributes.
- record(long) - Method in interface io.opentelemetry.api.metrics.LongHistogram
-
Records a value.
- record(long) - Method in interface io.opentelemetry.api.metrics.ObservableLongMeasurement
-
Records a measurement.
- record(long, Attributes) - Method in interface io.opentelemetry.api.metrics.LongHistogram
-
Records a value with a set of attributes.
- record(long, Attributes) - Method in interface io.opentelemetry.api.metrics.ObservableLongMeasurement
-
Records a measurement with a set of attributes.
- record(long, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.LongHistogram
-
Records a value with a set of attributes.
- recordException(Throwable) - Method in interface io.opentelemetry.api.trace.Span
- recordException(Throwable, Attributes) - Method in interface io.opentelemetry.api.trace.Span
- remove(AttributeKey<T>) - Method in interface io.opentelemetry.api.common.AttributesBuilder
- remove(String) - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Removes the key if it exists.
- remove(String) - Method in interface io.opentelemetry.api.trace.TraceStateBuilder
-
Removes the
Entry
that has the givenkey
if it is present. - removeIf(Predicate<AttributeKey<?>>) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Remove all attributes that satisfy the given predicate.
- resetForTest() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Unsets the global
OpenTelemetry
.
S
- SERVER - Enum constant in enum io.opentelemetry.api.trace.SpanKind
-
Indicates that the span covers server-side handling of an RPC or other remote request.
- set(double) - Method in interface io.opentelemetry.api.metrics.DoubleGauge
-
Set the gauge value.
- set(double, Attributes) - Method in interface io.opentelemetry.api.metrics.DoubleGauge
-
Records a value with a set of attributes.
- set(double, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.DoubleGauge
-
Records a value with a set of attributes.
- set(long) - Method in interface io.opentelemetry.api.metrics.LongGauge
-
Set the gauge value.
- set(long, Attributes) - Method in interface io.opentelemetry.api.metrics.LongGauge
-
Records a value with a set of attributes.
- set(long, Attributes, Context) - Method in interface io.opentelemetry.api.metrics.LongGauge
-
Records a value with a set of attributes.
- set(OpenTelemetry) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Sets the
OpenTelemetry
that should be the global instance. - setAllAttributes(Attributes) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets attributes.
- setAllAttributes(Attributes) - Method in interface io.opentelemetry.api.trace.Span
-
Sets attributes to the
Span
. - setAllAttributes(Attributes) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets attributes to the
SpanBuilder
. - setAttribute(AttributeKey<Long>, int) - Method in interface io.opentelemetry.api.trace.Span
-
Sets an attribute to the
Span
. - setAttribute(AttributeKey<Long>, int) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an attribute to the newly created
Span
. - setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets an attribute on the
LogRecord
. - setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.api.trace.Span
-
Sets an attribute to the
Span
. - setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an attribute to the newly created
Span
. - setAttribute(String, boolean) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets a Boolean attribute on the
LogRecord
. - setAttribute(String, boolean) - Method in interface io.opentelemetry.api.trace.Span
-
Sets an attribute to the
Span
. - setAttribute(String, boolean) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an attribute to the newly created
Span
. - setAttribute(String, double) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets a Double attribute on the
LogRecord
. - setAttribute(String, double) - Method in interface io.opentelemetry.api.trace.Span
-
Sets an attribute to the
Span
. - setAttribute(String, double) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an attribute to the newly created
Span
. - setAttribute(String, int) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets an Integer attribute on the
LogRecord
. - setAttribute(String, long) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets a Long attribute on the
LogRecord
. - setAttribute(String, long) - Method in interface io.opentelemetry.api.trace.Span
-
Sets an attribute to the
Span
. - setAttribute(String, long) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an attribute to the newly created
Span
. - setAttribute(String, String) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Sets a String attribute on the
LogRecord
. - setAttribute(String, String) - Method in interface io.opentelemetry.api.trace.Span
-
Sets an attribute to the
Span
. - setAttribute(String, String) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an attribute to the newly created
Span
. - setBody(Value<?>) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the body
Value
. - setBody(String) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the body string.
- setContext(Context) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the context.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.DoubleCounterBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.DoubleGaugeBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounterBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.LongCounterBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.LongGaugeBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.LongHistogramBuilder
-
Sets the description for this instrument.
- setDescription(String) - Method in interface io.opentelemetry.api.metrics.LongUpDownCounterBuilder
-
Sets the description for this instrument.
- setExplicitBucketBoundariesAdvice(List<Double>) - Method in interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
-
Set the explicit bucket buckets boundaries advice, which suggests the recommended set of explicit bucket boundaries for this histogram.
- setExplicitBucketBoundariesAdvice(List<Long>) - Method in interface io.opentelemetry.api.metrics.LongHistogramBuilder
-
Set the explicit bucket buckets boundaries advice, which suggests the recommended set of explicit bucket boundaries for this histogram.
- setInstrumentationVersion(String) - Method in interface io.opentelemetry.api.logs.LoggerBuilder
-
Sets the instrumentation scope version of the resulting
Logger
. - setInstrumentationVersion(String) - Method in interface io.opentelemetry.api.metrics.MeterBuilder
-
Sets the instrumentation scope version of the resulting
Meter
. - setInstrumentationVersion(String) - Method in interface io.opentelemetry.api.trace.TracerBuilder
-
Sets the instrumentation scope version of the resulting
Tracer
. - setNoParent() - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the option to become a root
Span
for a new trace. - setObservedTimestamp(long, TimeUnit) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the epoch
observedTimestamp
, using the timestamp and unit. - setObservedTimestamp(Instant) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the
observedTimestamp
, using the instant. - setParent(Context) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the parent to use from the specified
Context
. - setSchemaUrl(String) - Method in interface io.opentelemetry.api.logs.LoggerBuilder
-
Set the scope schema URL of the resulting
Logger
. - setSchemaUrl(String) - Method in interface io.opentelemetry.api.metrics.MeterBuilder
-
Set the scope schema URL of the resulting
Meter
. - setSchemaUrl(String) - Method in interface io.opentelemetry.api.trace.TracerBuilder
-
Set the scope schema URL of the resulting
Tracer
. - setSeverity(Severity) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the severity.
- setSeverityText(String) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the severity text.
- setSpanKind(SpanKind) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the
SpanKind
for the newly createdSpan
. - setStartTimestamp(long, TimeUnit) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an explicit start timestamp for the newly created
Span
. - setStartTimestamp(Instant) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets an explicit start timestamp for the newly created
Span
. - setStatus(StatusCode) - Method in interface io.opentelemetry.api.trace.Span
-
Sets the status to the
Span
. - setStatus(StatusCode, String) - Method in interface io.opentelemetry.api.trace.Span
-
Sets the status to the
Span
. - setTimestamp(long, TimeUnit) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the epoch
timestamp
, using the timestamp and unit. - setTimestamp(Instant) - Method in interface io.opentelemetry.api.logs.LogRecordBuilder
-
Set the epoch
timestamp
, using the instant. - setUnit(String) - Method in interface io.opentelemetry.api.metrics.DoubleCounterBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.DoubleGaugeBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.DoubleHistogramBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.DoubleUpDownCounterBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.LongCounterBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.LongGaugeBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.LongHistogramBuilder
-
Sets the unit of measure for this instrument.
- setUnit(String) - Method in interface io.opentelemetry.api.metrics.LongUpDownCounterBuilder
-
Sets the unit of measure for this instrument.
- Severity - Enum in io.opentelemetry.api.logs
-
Log record severity options.
- size() - Method in interface io.opentelemetry.api.baggage.Baggage
-
Returns the number of entries in this
Baggage
. - size() - Method in interface io.opentelemetry.api.common.Attributes
-
The number of attributes contained in this.
- size() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns the number of entries in this
TraceState
. - Span - Interface in io.opentelemetry.api.trace
-
An interface that represents a span.
- spanBuilder(String) - Method in interface io.opentelemetry.api.trace.Tracer
-
Returns a
SpanBuilder
to create and start a newSpan
. - SpanBuilder - Interface in io.opentelemetry.api.trace
-
SpanBuilder
is used to constructSpan
instances which define arbitrary scopes of code that are sampled for distributed tracing as a single atomic unit. - SpanContext - Interface in io.opentelemetry.api.trace
-
A class that represents a span context.
- SpanId - Class in io.opentelemetry.api.trace
-
Helper methods for dealing with a span identifier.
- SpanKind - Enum in io.opentelemetry.api.trace
-
Type of
Span
. - startSpan() - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Starts a new
Span
. - StatusCode - Enum in io.opentelemetry.api.trace
-
The set of canonical status codes.
- storeInContext(Context) - Method in interface io.opentelemetry.api.baggage.Baggage
- storeInContext(Context) - Method in interface io.opentelemetry.api.trace.Span
- STRING - Enum constant in enum io.opentelemetry.api.common.AttributeType
- STRING - Enum constant in enum io.opentelemetry.api.common.ValueType
- STRING_ARRAY - Enum constant in enum io.opentelemetry.api.common.AttributeType
- stringArrayKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for List<String> valued attributes.
- stringKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for String valued attributes.
T
- toBuilder() - Method in interface io.opentelemetry.api.baggage.Baggage
-
Create a Builder pre-initialized with the contents of this Baggage.
- toBuilder() - Method in interface io.opentelemetry.api.common.Attributes
-
Returns a new
AttributesBuilder
instance populated with the data of thisAttributes
. - toBuilder() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns a
Builder
based on thisTraceState
. - toString() - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- toString() - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
- TRACE - Enum constant in enum io.opentelemetry.api.logs.Severity
- TRACE2 - Enum constant in enum io.opentelemetry.api.logs.Severity
- TRACE3 - Enum constant in enum io.opentelemetry.api.logs.Severity
- TRACE4 - Enum constant in enum io.opentelemetry.api.logs.Severity
- TraceFlags - Interface in io.opentelemetry.api.trace
-
A valid trace flags is a byte or 2 character lowercase hex (base16) String.
- TraceId - Class in io.opentelemetry.api.trace
-
Helper methods for dealing with a trace identifier.
- Tracer - Interface in io.opentelemetry.api.trace
-
Tracer is the interface for
Span
creation and interaction with the in-process context. - tracerBuilder(String) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Creates a TracerBuilder for a named
Tracer
instance. - tracerBuilder(String) - Method in interface io.opentelemetry.api.OpenTelemetry
-
Creates a
TracerBuilder
for a namedTracer
instance. - tracerBuilder(String) - Method in interface io.opentelemetry.api.trace.TracerProvider
-
Creates a TracerBuilder for a named
Tracer
instance. - TracerBuilder - Interface in io.opentelemetry.api.trace
-
Builder class for creating
Tracer
instances. - TracerProvider - Interface in io.opentelemetry.api.trace
-
A registry for creating named
Tracer
s. - TraceState - Interface in io.opentelemetry.api.trace
-
Carries tracing-system specific context in a list of key-value pairs.
- TraceStateBuilder - Interface in io.opentelemetry.api.trace
-
A builder of
TraceState
.
U
- UNDEFINED_SEVERITY_NUMBER - Enum constant in enum io.opentelemetry.api.logs.Severity
- UNSET - Enum constant in enum io.opentelemetry.api.trace.StatusCode
-
The default status.
- updateName(String) - Method in interface io.opentelemetry.api.trace.Span
-
Updates the
Span
name. - upDownCounterBuilder(String) - Method in interface io.opentelemetry.api.metrics.Meter
-
Constructs an UpDownCounter instrument.
V
- Value<T> - Interface in io.opentelemetry.api.common
-
Value mirrors the proto AnyValue message type, and is used to model any type.
- valueOf(String) - Static method in enum io.opentelemetry.api.common.AttributeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.api.common.ValueType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.api.logs.Severity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.api.trace.SpanKind
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.api.trace.StatusCode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.api.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.api.common.ValueType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.api.logs.Severity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.api.trace.SpanKind
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.api.trace.StatusCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueType - Enum in io.opentelemetry.api.common
-
AnyValue type options, mirroring AnyValue#value options.
W
- W3CBaggagePropagator - Class in io.opentelemetry.api.baggage.propagation
-
TextMapPropagator
that implements the W3C specification for baggage header propagation. - W3CTraceContextPropagator - Class in io.opentelemetry.api.trace.propagation
-
Implementation of the W3C TraceContext propagation protocol.
- WARN - Enum constant in enum io.opentelemetry.api.logs.Severity
- WARN2 - Enum constant in enum io.opentelemetry.api.logs.Severity
- WARN3 - Enum constant in enum io.opentelemetry.api.logs.Severity
- WARN4 - Enum constant in enum io.opentelemetry.api.logs.Severity
- wrap(SpanContext) - Static method in interface io.opentelemetry.api.trace.Span
-
Returns a non-recording
Span
that holds the providedSpanContext
but has no functionality.
All Classes and Interfaces|All Packages