A B C D E F G I L O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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
Spanwith the giventimestamp, as nanos since epoch. - addEvent(String, Attributes) - Method in interface io.opentelemetry.api.trace.Span
-
Adds an event to the
Spanwith 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
Spanwith 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. - 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
Attributesas aMap. - asMap() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns a read-only view of this
TraceStateas 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
Attributessupporting 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
AttributeKeyand hence the types of values that are allowed forAttributes.
B
- Baggage - Interface in io.opentelemetry.api.baggage
-
A map from
StringtoBaggageEntrythat 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. - 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
Baggagefrom this builder. - build() - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Create the
Attributesfrom this. - 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
BaggageBuilderfor creating Baggage. - builder() - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a new
AttributesBuilderinstance for creating arbitraryAttributes. - builder() - Static method in interface io.opentelemetry.api.trace.TraceState
-
Returns an empty
TraceStateBuilder.
C
- CLIENT - io.opentelemetry.api.trace.SpanKind
-
Indicates that the span covers the client-side wrapper around an RPC or other remote request.
- CONSUMER - io.opentelemetry.api.trace.SpanKind
-
Indicates that the span describes consumer receiving a message from a broker.
- create(String) - Static method in interface io.opentelemetry.api.baggage.BaggageEntryMetadata
-
Returns a new
BaggageEntryMetadatawith the given value. - create(String, String, TraceFlags, TraceState) - Static method in interface io.opentelemetry.api.trace.SpanContext
-
Creates a new
SpanContextwith the given identifiers and options. - createFromRemoteParent(String, String, TraceFlags, TraceState) - Static method in interface io.opentelemetry.api.trace.SpanContext
-
Creates a new
SpanContextthat 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
- 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
Attributesinstance with no attributes. - end() - Method in interface io.opentelemetry.api.trace.Span
-
Marks the end of
Spanexecution. - end(long, TimeUnit) - Method in interface io.opentelemetry.api.trace.Span
-
Marks the end of
Spanexecution with the specified timestamp. - end(Instant) - Method in interface io.opentelemetry.api.trace.Span
-
Marks the end of
Spanexecution with the specified timestamp. - 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
- extract(Context, C, TextMapPropagator.Getter<C>) - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
F
- fields() - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- fields() - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
- 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, 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
TraceFlagsconverted from the given byte representation. - fromBytes(byte[]) - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the lowercase hex (base16) representation of the
SpanIdconverted from the given bytes representation, orSpanId.getInvalid()if input isnull. - fromBytes(byte[]) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the lowercase hex (base16) representation of the
TraceIdconverted from the given bytes representation, orTraceId.getInvalid()if input isnull. - 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
TraceFlagsconverted 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
SpanIdconverted from the givenlongvalue representation. - fromLongs(long, long) - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the bytes (16-byte array) representation of the
TraceIdconverted from the given twolongvalues 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, ornullif not found. - 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.OpenTelemetry
-
Returns a default, completely no-op
OpenTelemetry. - 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.Tracer
- getDefault() - Static method in interface io.opentelemetry.api.trace.TracerProvider
-
Returns a no-op
TracerProviderwhich only creates no-opSpans which do not record nor are emitted. - getDefault() - Static method in interface io.opentelemetry.api.trace.TraceState
-
Returns the default
TraceStatewith no entries. - getEntryValue(String) - Method in interface io.opentelemetry.api.baggage.Baggage
-
Returns the
Stringvalue 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
TextMapPropagatorimplementing 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
SpanContextthat can be used for no-op operations. - getInvalid() - Static method in class io.opentelemetry.api.trace.SpanId
-
Returns the invalid
SpanIdin lowercase hex (base16) representation. - getInvalid() - Static method in class io.opentelemetry.api.trace.TraceId
-
Returns the invalid
TraceIdin lowercase hex (base16) representation. - getKey() - Method in interface io.opentelemetry.api.common.AttributeKey
-
Returns the underlying String representation of 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. - getMetadata() - Method in interface io.opentelemetry.api.baggage.BaggageEntry
-
Returns the entry's
BaggageEntryMetadata. - getPropagating(ContextPropagators) - Static method in interface io.opentelemetry.api.OpenTelemetry
-
Returns an
OpenTelemetrywhich will do remote propagation ofContextusing the providedContextPropagatorsand is no-op otherwise. - getPropagators() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Returns the globally registered
ContextPropagatorsfor remote propagation of a context. - getPropagators() - Method in interface io.opentelemetry.api.OpenTelemetry
-
Returns the
ContextPropagatorsfor thisOpenTelemetry. - getSampled() - Static method in interface io.opentelemetry.api.trace.TraceFlags
-
Returns the lowercase hex (base16) representation of the
TraceFlagswith the sampling flag bit on. - getSpanContext() - Method in interface io.opentelemetry.api.trace.Span
-
Returns the
SpanContextassociated with thisSpan. - getSpanId() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the span identifier associated with this
SpanContextas 16 character lowercase hex String. - getSpanIdBytes() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the span identifier associated with this
SpanContextas 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
SpanContextas 32 character lowercase hex String. - getTraceIdBytes() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the trace identifier associated with this
SpanContextas 16-byte array. - 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
TracerProviderfor 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
TracerProviderin 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
TracerProviderfor thisOpenTelemetry. - getTraceState() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns the
TraceStateassociated 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
- inject(Context, C, TextMapPropagator.Setter<C>) - Method in class io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator
- inject(Context, C, TextMapPropagator.Setter<C>) - Method in class io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator
- INTERNAL - 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
Attributesand classes/utilities for interacting with them. - 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
Baggageis 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
TraceStateis empty, containing no entries. - isRecording() - Method in interface io.opentelemetry.api.trace.Span
-
Returns
trueif thisSpanrecords tracing events (e.g. - isRemote() - Method in interface io.opentelemetry.api.trace.SpanContext
-
Returns
trueif theSpanContextwas 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
trueif thisSpanContextis 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
TraceIdis valid.
L
- 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.
O
- of(AttributeKey<T>, T) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributesinstance with a single key-value pair. - of(AttributeKey<T>, T, AttributeKey<U>, U) - Static method in interface io.opentelemetry.api.common.Attributes
-
Returns a
Attributesinstance 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
Attributesinstance 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
Attributesinstance 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
Attributesinstance 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
Attributesinstance with the given 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.
P
- PRODUCER - io.opentelemetry.api.trace.SpanKind
-
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
AttributeKeywith associated value into this. - put(AttributeKey<T>, T) - Method in interface io.opentelemetry.api.common.AttributesBuilder
-
Puts a
AttributeKeywith 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.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
- recordException(Throwable) - Method in interface io.opentelemetry.api.trace.Span
- recordException(Throwable, Attributes) - Method in interface io.opentelemetry.api.trace.Span
- 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
Entrythat has the givenkeyif it is present. - resetForTest() - Static method in class io.opentelemetry.api.GlobalOpenTelemetry
-
Unsets the global
OpenTelemetry.
S
- SERVER - io.opentelemetry.api.trace.SpanKind
-
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
OpenTelemetrythat should be the global instance. - set(String, String) - Method in interface io.opentelemetry.api.trace.TraceStateBuilder
-
Adds or updates the
Entrythat has the givenkeyif 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
Baggagewith no parent. - setNoParent() - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the option to become a root
Spanfor a new trace. - setParent(Context) - Method in interface io.opentelemetry.api.baggage.BaggageBuilder
-
Sets the parent
Baggageto use from the specifiedContext. - setParent(Context) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the parent to use from the specified
Context. - setSpanKind(SpanKind) - Method in interface io.opentelemetry.api.trace.SpanBuilder
-
Sets the
SpanKindfor 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. - 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
SpanBuilderto create and start a newSpan. - SpanBuilder - Interface in io.opentelemetry.api.trace
-
SpanBuilderis used to constructSpaninstances 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 - 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.
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
AttributesBuilderinstance populated with the data of thisAttributes. - toBuilder() - Method in interface io.opentelemetry.api.trace.TraceState
-
Returns a
Builderbased on thisTraceState. - 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
Spancreation and interaction with the in-process context. - TracerProvider - Interface in io.opentelemetry.api.trace
-
A registry for creating named
Tracers. - 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
Spanname.
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.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.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.
W
- W3CBaggagePropagator - Class in io.opentelemetry.api.baggage.propagation
-
TextMapPropagatorthat 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
Spanthat holds the providedSpanContextbut has no functionality.
All Classes All Packages