A B C D E F G I K L M O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(String, String, BaggageEntryMetadata) - Method in interface io.opentelemetry.api.baggage.BaggageConsumer
-
Consumes an entry of a
Baggage
. - 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.SpanBuilder
-
Adds a link to the newly created
Span
. - addLink(SpanContext, Attributes) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Adds a link to the newly created
Span
. - asLong(CharSequence) - Static method in class io.opentelemetry.api.trace.SpanId
-
Convert the the given hex spanId into a long representation.
- 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.common.Labels
- asMap() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- asMap() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns a read-only view of this
TraceState
as aMap
. - 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
- BaggageBuilder - Interface in io.opentelemetry.api.baggage
-
A builder of
Baggage
. - BaggageConsumer - Interface in io.opentelemetry.api.baggage
-
A consumer of entries in
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 entry in baggage.
- BOOLEAN - io.opentelemetry.api.common.AttributeType
- BOOLEAN_ARRAY - 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.common.LabelsBuilder
-
Create the
Labels
from this. - build() - Method in class io.opentelemetry.api.DefaultOpenTelemetryBuilder
-
Returns a new
OpenTelemetry
based on the configuration passed in this builder. - 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.common.Labels
-
Creates a new
LabelsBuilder
instance for creating arbitraryLabels
. - builder() - Static method in class io.opentelemetry.api.DefaultOpenTelemetry
-
Returns a builder for the
DefaultOpenTelemetry
. - builder() - Static method in interface io.opentelemetry.api.trace.TraceState
-
Returns an empty
TraceStateBuilder
. - byteFromHex(CharSequence, int) - Static method in class io.opentelemetry.api.trace.TraceFlags
-
Extract the byte representation of the flags from a hex-representation.
- bytesFromHex(String, int) - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns a
SpanId
built from a lowercase base16 representation. - bytesFromHex(String, int) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns a
TraceId
built from a lowercase base16 representation. - bytesToHex(byte[]) - Static method in class io.opentelemetry.api.trace.SpanId
-
Encode the bytes as base-16 (hex), padded with '0's on the left.
- bytesToHex(byte[]) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the lowercase base16 encoding of this
TraceId
.
C
- checkArgument(boolean, String) - Static method in class io.opentelemetry.api.internal.Utils
-
Throws an
IllegalArgumentException
if the argument is false. - clear() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- CLIENT - io.opentelemetry.api.trace.Span.Kind
-
Indicates that the span covers the client-side wrapper around an RPC or other remote request.
- CONSUMER - io.opentelemetry.api.trace.Span.Kind
-
Indicates that the span describes consumer receiving a message from a broker.
- containsKey(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- containsValue(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- copyHexInto(byte[], char[], int) - Static method in class io.opentelemetry.api.trace.TraceId
-
Copies the lowercase base16 representations of the
TraceId
into thedest
beginning at thedestOffset
offset. - copyTraceFlagsHexTo(char[], int) - Method in interface io.opentelemetry.api.trace.SpanContext
- create() - Method in interface io.opentelemetry.spi.OpenTelemetryFactory
-
Deprecated.Returns a new
OpenTelemetry
instance. - create() - Method in interface io.opentelemetry.spi.trace.TracerProviderFactory
-
Deprecated.Creates a new TracerProvider.
- create(String) - Static method in interface io.opentelemetry.api.baggage.BaggageEntryMetadata
-
Returns a new
BaggageEntryMetadata
with the given value. - create(String, String, byte, TraceState) - Static method in interface io.opentelemetry.api.trace.SpanContext
-
Creates a new
SpanContext
with the given identifiers and options. - createFromRemoteParent(String, String, byte, 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
- data() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- DefaultOpenTelemetry - Class in io.opentelemetry.api
-
The default OpenTelemetry API, which tries to find API implementations via SPI or otherwise falls back to no-op default implementations.
- DefaultOpenTelemetryBuilder - Class in io.opentelemetry.api
-
Builder class for
DefaultOpenTelemetry
. - DOUBLE - io.opentelemetry.api.common.AttributeType
- DOUBLE_ARRAY - 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.
- doubleKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Double valued attributes.
E
- 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. - empty() - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
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. - entrySet() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- ERROR - io.opentelemetry.api.trace.StatusCode
-
The operation contains an error.
- extract(Context, C, TextMapPropagator.Getter<C>) - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
F
- fields() - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- forEach(BaggageConsumer) - Method in interface io.opentelemetry.api.baggage.Baggage
-
Iterates over all the entries in this
Baggage
. - forEach(BiConsumer<AttributeKey<?>, Object>) - Method in interface io.opentelemetry.api.common.Attributes
-
Iterates over all the key-value pairs of attributes contained by this instance.
- forEach(BiConsumer<String, String>) - Method in interface io.opentelemetry.api.common.Labels
-
Iterates over all the key-value pairs of labels contained by this instance.
- forEach(BiConsumer<String, String>) - Method in interface io.opentelemetry.api.trace.TraceState
-
Iterates over all the key-value entries contained in this
TraceState
. - 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
- fromLong(long) - Static method in class io.opentelemetry.api.trace.SpanId
-
Generate a valid
SpanId
from the given long value. - fromLongs(long, long) - Static method in class io.opentelemetry.api.trace.TraceId
-
Constructs a
TraceId
whose representation is specified by two long values representing the lower and higher parts.
G
- 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(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- get(String) - Method in interface io.opentelemetry.api.common.Labels
-
Returns the value for the given
key
, ornull
if the key is not present. - 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.
- get(K) - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
-
Returns the value for the given
key
, ornull
if the key is not present. - getDefault() - Static method in class io.opentelemetry.api.trace.TraceFlags
-
Returns the default
TraceFlags
. - getDefault() - Static method in interface io.opentelemetry.api.trace.Tracer
- getDefault() - 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. - getDefault() - Static method in interface io.opentelemetry.api.trace.TraceState
-
Returns the default
TraceState
with no entries. - getEntryMetadata() - Method in interface io.opentelemetry.api.baggage.BaggageEntry
-
Returns the entry's
BaggageEntryMetadata
. - getEntryValue(String) - Method in interface io.opentelemetry.api.baggage.Baggage
-
Returns the
String
value associated with the given key, without metadata. - getHexLength() - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the length of the base16 (hex) representation of the
SpanId
. - getHexLength() - Static method in class io.opentelemetry.api.trace.TraceFlags
-
Returns the size in Hex of trace flags.
- getHexLength() - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the length of the base16 (hex) representation of the
TraceId
. - 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
. - getInvalid() - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the invalid
TraceId
. - getKey() - Method in interface io.opentelemetry.api.common.AttributeKey
-
Returns the underlying String representation of the key.
- getPropagators() - Method in class io.opentelemetry.api.DefaultOpenTelemetry
- 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 class io.opentelemetry.api.trace.TraceFlags
- getSize() - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the size in bytes of the
SpanId
. - getSize() - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the size in bytes of the
TraceId
. - getSpanContext() - Method in interface io.opentelemetry.api.trace.Span
-
Returns the
SpanContext
associated with thisSpan
. - getSpanIdAsHexString() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the span identifier associated with this
SpanContext
. - getSpanIdBytes() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the byte[] representation of the span identifier associated with this
SpanContext
. - getTraceFlags() - Method in interface io.opentelemetry.api.trace.SpanContext
-
The byte-representation of
TraceFlags
. - getTraceIdAsHexString() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the trace identifier associated with this
SpanContext
. - getTraceIdBytes() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the byte[] representation of the trace identifier associated with this
SpanContext
. - getTraceIdRandomPart(CharSequence) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the rightmost 8 bytes of the trace-id as a long value.
- 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() - Method in class io.opentelemetry.api.DefaultOpenTelemetry
- 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.
- 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
. - GlobalOpenTelemetry - Class in io.opentelemetry.api
-
A global singleton for the entrypoint to telemetry functionality for tracing, metrics and baggage.
I
- ImmutableKeyValuePairs<K,V> - Class in io.opentelemetry.api.internal
-
An immutable set of key-value pairs.
- ImmutableKeyValuePairs() - Constructor for class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- inject(Context, C, TextMapPropagator.Setter<C>) - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- INTERNAL - io.opentelemetry.api.trace.Span.Kind
-
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.internal - package io.opentelemetry.api.internal
-
Interfaces and implementations that are internal to OpenTelemetry.
- 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.
- io.opentelemetry.spi - package io.opentelemetry.spi
- io.opentelemetry.spi.trace - package io.opentelemetry.spi.trace
-
The SPI (service provider interface) for initializing the OpenTelemetry tracing API.
- 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.common.Labels
-
Returns whether this instance is empty (contains no labels).
- isEmpty() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- isEmpty() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- isEmpty() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns whether this
TraceState
is empty, containing no entries. - isPrintableString(String) - Static method in class io.opentelemetry.api.internal.StringUtils
-
Determines whether the
String
contains only printable characters. - 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.
- isSampledFromHex(CharSequence, int) - Static method in class io.opentelemetry.api.trace.TraceFlags
-
Extract the sampled flag from hex-based trace-flags.
- 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.TraceId
-
Returns whether the
TraceId
is valid. - isValid(String) - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns whether the span identifier is valid.
- isValidMetricName(String) - Static method in class io.opentelemetry.api.internal.StringUtils
-
Determines whether the metric name contains a valid metric name.
K
- keySet() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
L
- Labels - Interface in io.opentelemetry.api.common
-
An immutable container for labels, which are key-value pairs of
String
s. - LabelsBuilder - Interface in io.opentelemetry.api.common
-
A builder of
Labels
supporting an arbitrary number of key-value pairs. - LONG - io.opentelemetry.api.common.AttributeType
- LONG_ARRAY - 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.
- longKey(String) - Static method in interface io.opentelemetry.api.common.AttributeKey
-
Returns a new AttributeKey for Long valued attributes.
M
- METRIC_NAME_MAX_LENGTH - Static variable in class io.opentelemetry.api.internal.StringUtils
O
- 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(String...) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with the providedkeyValueLabelPairs
. - of(String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with a single key-value pair. - of(String, String, String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with two key-value pairs. - of(String, String, String, String, String, String) - Static method in interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with three key-value pairs. - of(String, String, String, String, String, String, String, String) - Static method in interface io.opentelemetry.api.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 interface io.opentelemetry.api.common.Labels
-
Returns a
Labels
instance with five key-value pairs. - OK - 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.
- OpenTelemetryFactory - Interface in io.opentelemetry.spi
-
Deprecated.Use
DefaultOpenTelemetry.builder()
to initialize OpenTelemetry with a custom provider, orOpenTelemetrySdk#builder
oropentelemetry-sdk-extension-autoconfigure
to configure the default SDK.
P
- PRODUCER - io.opentelemetry.api.trace.Span.Kind
-
Indicates that the span describes producer sending a message to a broker.
- put(AttributeKey<Long>, int) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a
AttributeKey
with associated value 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.common.LabelsBuilder
-
Puts a single label into this Builder.
- 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.
- put(K, V) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- putAll(Attributes) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts all the provided attributes into this Builder.
- putAll(Map<? extends K, ? extends V>) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
R
- ReadOnlyArrayMap<K,V> - Class in io.opentelemetry.api.internal
-
A read-only view of an array of key-value pairs.
- recordException(Throwable) - Method in interface io.opentelemetry.api.trace.Span
- recordException(Throwable, Attributes) - Method in interface io.opentelemetry.api.trace.Span
- remove(Object) - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- 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.
S
- SERVER - io.opentelemetry.api.trace.Span.Kind
-
Indicates that the span covers server-side handling of an RPC or other remote request.
- set(OpenTelemetry) - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Sets the
OpenTelemetry
that should be the global instance. - set(String, String) - Method in interface io.opentelemetry.api.trace.TraceStateBuilder
-
Adds or updates the
Entry
that has the givenkey
if it is present. - setAttribute(AttributeKey<Long>, int) - 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.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.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.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, 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.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
. - setNoParent() - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Sets the option to become a root
Baggage
with no parent. - setNoParent() - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the option to become a root
Span
for a new trace. - setParent(Context) - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Sets the parent
Baggage
to use from the specifiedContext
. - setParent(Context) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the parent to use from the specified
Context
. - setPropagators(ContextPropagators) - Method in class io.opentelemetry.api.DefaultOpenTelemetryBuilder
-
Sets the
ContextPropagators
to use. - setSpanKind(Span.Kind) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the
Span.Kind
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
. - setTracerProvider(TracerProvider) - Method in class io.opentelemetry.api.DefaultOpenTelemetryBuilder
-
Sets the
TracerProvider
to use. - 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.common.Labels
-
The number of key-value pairs of labels in this instance.
- size() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- size() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- size() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns the number of entries in this
TraceState
. - sortAndFilter(Object[], boolean) - Static method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
-
Sorts and dedupes the key/value pairs in
data
. - sortAndFilter(Object[], boolean, Comparator<?>) - Static method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
-
Sorts and dedupes the key/value pairs in
data
. - Span - Interface in io.opentelemetry.api.trace
-
An interface that represents a span.
- Span.Kind - Enum in io.opentelemetry.api.trace
-
Type of 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.
- 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 - io.opentelemetry.api.common.AttributeType
- STRING_ARRAY - 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.
- StringUtils - Class in io.opentelemetry.api.internal
-
Internal utility methods for working with attribute keys, attribute values, and metric names.
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.common.Labels
-
Create a
LabelsBuilder
pre-populated with the contents of this Labels instance. - toBuilder() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns a
Builder
based on thisTraceState
. - toString() - Method in class io.opentelemetry.api.internal.ImmutableKeyValuePairs
- toString() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- TraceFlags - Class in io.opentelemetry.api.trace
-
Helper methods for dealing with trace flags options.
- TraceId - Class in io.opentelemetry.api.trace
-
Helper methods for dealing with a trace identifier.
- traceIdHighBytesAsLong(CharSequence) - Static method in class io.opentelemetry.api.trace.TraceId
-
Convert the "high bytes" of the given hex traceId into a long representation.
- traceIdLowBytesAsLong(CharSequence) - Static method in class io.opentelemetry.api.trace.TraceId
-
Convert the "low bytes" of the given hex traceId into a long representation.
- Tracer - Interface in io.opentelemetry.api.trace
-
Tracer is the interface for
Span
creation and interaction with the in-process context. - TracerProvider - Interface in io.opentelemetry.api.trace
-
A registry for creating named
Tracer
s. - TracerProviderFactory - Interface in io.opentelemetry.spi.trace
-
Deprecated.Use
DefaultOpenTelemetry.builder()
to initialize OpenTelemetry with a custom provider, orOpenTelemetrySdk#builder
oropentelemetry-sdk-extension-autoconfigure
to configure the default SDK. - 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
- UNSET - io.opentelemetry.api.trace.StatusCode
-
The default status.
- updateName(String) - Method in interface io.opentelemetry.api.trace.Span
-
Updates the
Span
name. - Utils - Class in io.opentelemetry.api.internal
-
General internal utility methods.
V
- 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.trace.Span.Kind
-
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() - Method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
- values() - Static method in enum io.opentelemetry.api.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.api.trace.StatusCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
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.
- wrap(SpanContext) - Static method in interface io.opentelemetry.api.trace.Span
-
Returns a non-recording
Span
that holds the providedSpanContext
but has no functionality. - wrap(List<Object>) - Static method in class io.opentelemetry.api.internal.ReadOnlyArrayMap
-
Returns a read-only view of the given
array
.
All Classes All Packages