- add(double, Labels) - Method in interface io.opentelemetry.metrics.DoubleCounter
-
Adds the given increment
to the current value.
- add(double) - Method in interface io.opentelemetry.metrics.DoubleCounter
-
Adds the given increment
to the current value.
- add(double) - Method in interface io.opentelemetry.metrics.DoubleCounter.BoundDoubleCounter
-
Adds the given increment
to the current value.
- add(double, Labels) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
-
Adds the given increment
to the current value.
- add(double) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
-
Adds the given increment
to the current value.
- add(double) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.BoundDoubleUpDownCounter
-
Adds the given increment
to the current value.
- add(long, Labels) - Method in interface io.opentelemetry.metrics.LongCounter
-
Adds the given increment
to the current value.
- add(long) - Method in interface io.opentelemetry.metrics.LongCounter
-
Adds the given increment
to the current value.
- add(long) - Method in interface io.opentelemetry.metrics.LongCounter.BoundLongCounter
-
Adds the given increment
to the current value.
- add(long, Labels) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
-
Adds the given increment
to the current value.
- add(long) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
-
Adds the given increment
to the current value.
- add(long) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.BoundLongUpDownCounter
-
Adds the given increment
to the current value.
- addAll(Attributes) - Method in class io.opentelemetry.common.Attributes.Builder
-
Add all the provided attributes to this Builder.
- addEvent(String) - Method in class io.opentelemetry.trace.DefaultSpan
-
- addEvent(String, long) - Method in class io.opentelemetry.trace.DefaultSpan
-
- addEvent(String, Attributes) - Method in class io.opentelemetry.trace.DefaultSpan
-
- addEvent(String, Attributes, long) - Method in class io.opentelemetry.trace.DefaultSpan
-
- addEvent(String) - Method in interface io.opentelemetry.trace.Span
-
Adds an event to the
Span
.
- addEvent(String, long) - Method in interface io.opentelemetry.trace.Span
-
Adds an event to the
Span
with the given
timestamp
, as nanos since epoch.
- addEvent(String, Attributes) - Method in interface io.opentelemetry.trace.Span
-
- addEvent(String, Attributes, long) - Method in interface io.opentelemetry.trace.Span
-
- addLink(SpanContext) - Method in interface io.opentelemetry.trace.Span.Builder
-
Adds a link to the newly created Span
.
- addLink(SpanContext, Attributes) - Method in interface io.opentelemetry.trace.Span.Builder
-
Adds a link to the newly created Span
.
- AsynchronousInstrument<R extends AsynchronousInstrument.Result> - Interface in io.opentelemetry.metrics
-
AsynchronousInstrument
is an interface that defines a type of instruments that are used
to report measurements asynchronously.
- AsynchronousInstrument.Builder - Interface in io.opentelemetry.metrics
-
- AsynchronousInstrument.Callback<R extends AsynchronousInstrument.Result> - Interface in io.opentelemetry.metrics
-
A Callback
for a AsynchronousInstrument
.
- AsynchronousInstrument.DoubleResult - Interface in io.opentelemetry.metrics
-
- AsynchronousInstrument.LongResult - Interface in io.opentelemetry.metrics
-
- AsynchronousInstrument.Result - Interface in io.opentelemetry.metrics
-
- AttributeConsumer - Interface in io.opentelemetry.common
-
Used for iterating over all the key/value pairs in an
Attributes
instance.
- AttributeKey<T> - Interface in io.opentelemetry.common
-
This interface provides a handle for setting the values of
Attributes
.
- Attributes - Class in io.opentelemetry.common
-
An immutable container for attributes.
- Attributes() - Constructor for class io.opentelemetry.common.Attributes
-
- Attributes.Builder - Class in io.opentelemetry.common
-
Enables the creation of an
Attributes
instance with an arbitrary number of key-value
pairs.
- AttributeType - Enum in io.opentelemetry.common
-
An enum that represents all the possible value types for an
AttributeKey
and hence the
types of values that are allowed for
Attributes
.
- Baggage - Interface in io.opentelemetry.baggage
-
A map from
String
to
String
and
EntryMetadata
that can be used to label
anything that is associated with a specific operation.
- Baggage.Builder - Interface in io.opentelemetry.baggage
-
- baggageBuilder() - Method in interface io.opentelemetry.baggage.BaggageManager
-
- baggageBuilder() - Method in class io.opentelemetry.baggage.DefaultBaggageManager
-
- BaggageManager - Interface in io.opentelemetry.baggage
-
Object for creating new
Baggage
s and
Baggage
s based on the current context.
- BaggageManagerFactory - Interface in io.opentelemetry.baggage.spi
-
- BaggageUtils - Class in io.opentelemetry.baggage
-
Utility methods for accessing the
Baggage
contained in the
Context
.
- BatchRecorder - Interface in io.opentelemetry.metrics
-
Util class that can be use to atomically record measurements associated with a set of Metrics.
- bind(Labels) - Method in interface io.opentelemetry.metrics.DoubleCounter
-
- bind(Labels) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter
-
- bind(Labels) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
-
- bind(Labels) - Method in interface io.opentelemetry.metrics.LongCounter
-
- bind(Labels) - Method in interface io.opentelemetry.metrics.LongUpDownCounter
-
- bind(Labels) - Method in interface io.opentelemetry.metrics.LongValueRecorder
-
- bind(Labels) - Method in interface io.opentelemetry.metrics.SynchronousInstrument
-
Returns a Bound Instrument
associated with the specified labels.
- booleanArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
-
Returns a new AttributeKey for List<Boolean> valued attributes.
- booleanKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
-
Returns a new AttributeKey for Boolean valued attributes.
- build() - Method in interface io.opentelemetry.baggage.Baggage.Builder
-
Creates a Baggage
from this builder.
- build() - Method in class io.opentelemetry.common.Attributes.Builder
-
- build() - Method in class io.opentelemetry.common.Labels.Builder
-
- build() - Method in interface io.opentelemetry.metrics.AsynchronousInstrument.Builder
-
- build() - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
-
- build() - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
-
- build() - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
-
- build() - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
-
- build() - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
-
- build() - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
-
- build() - Method in interface io.opentelemetry.metrics.Instrument.Builder
-
Builds and returns a Instrument
with the desired options.
- build() - Method in interface io.opentelemetry.metrics.LongCounter.Builder
-
- build() - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
-
- build() - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
-
- build() - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
-
- build() - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
-
- build() - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
-
- build() - Method in interface io.opentelemetry.metrics.SynchronousInstrument.Builder
-
- build() - Method in class io.opentelemetry.trace.EndSpanOptions.Builder
-
Builds and returns a EndSpanOptions
with the desired settings.
- build() - Method in class io.opentelemetry.trace.TraceState.Builder
-
Builds a TraceState by adding the entries to the parent in front of the key-value pairs list
and removing duplicate entries.
- Builder() - Constructor for class io.opentelemetry.common.Labels.Builder
-
- builder() - Static method in class io.opentelemetry.trace.EndSpanOptions
-
- builder() - Static method in class io.opentelemetry.trace.TraceState
-
Returns a Builder
based on an empty TraceState
.
- byteFromHex(CharSequence, int) - Static method in class io.opentelemetry.trace.TraceFlags
-
Extract the byte representation of the flags from a hex-representation.
- bytesFromHex(String, int) - Static method in class io.opentelemetry.trace.SpanId
-
Returns a SpanId
built from a lowercase base16 representation.
- bytesFromHex(String, int) - Static method in class io.opentelemetry.trace.TraceId
-
Returns a TraceId
built from a lowercase base16 representation.
- bytesToHex(byte[]) - Static method in class io.opentelemetry.trace.SpanId
-
Encode the bytes as base-16 (hex), padded with '0's on the left.
- bytesToHex(byte[]) - Static method in class io.opentelemetry.trace.TraceId
-
Returns the lowercase base16 encoding of this TraceId
.
- DB_CONNECTION_STRING - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The connection string used to connect to the database.
- DB_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Database name.
- DB_OPERATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Database operation that is being executed.
- DB_STATEMENT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Database statement for the given database type.
- DB_SYSTEM - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
An identifier for the database management system (DBMS) product being used.
- DB_USER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Username for accessing database.
- DefaultBaggageManager - Class in io.opentelemetry.baggage
-
- DefaultBaggageManager() - Constructor for class io.opentelemetry.baggage.DefaultBaggageManager
-
- DefaultMeter - Class in io.opentelemetry.metrics
-
No-op implementations of
Meter
.
- DefaultMeterProvider - Class in io.opentelemetry.metrics
-
- DefaultSpan - Class in io.opentelemetry.trace
-
The
DefaultSpan
is the default
Span
that is used when no
Span
implementation is available.
- DefaultTracer - Class in io.opentelemetry.trace
-
No-op implementations of
Tracer
.
- DefaultTracerProvider - Class in io.opentelemetry.trace
-
- doubleArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
-
Returns a new AttributeKey for List<Double> valued attributes.
- DoubleCounter - Interface in io.opentelemetry.metrics
-
Counter is the most common synchronous instrument.
- DoubleCounter.BoundDoubleCounter - Interface in io.opentelemetry.metrics
-
- DoubleCounter.Builder - Interface in io.opentelemetry.metrics
-
- doubleCounterBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
-
- doubleCounterBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
-
- doubleKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
-
Returns a new AttributeKey for Double valued attributes.
- DoubleSumObserver - Interface in io.opentelemetry.metrics
-
SumObserver
is the asynchronous instrument corresponding to Counter, used to capture a
monotonic sum with Observe(sum).
- DoubleSumObserver.Builder - Interface in io.opentelemetry.metrics
-
- doubleSumObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
-
- doubleSumObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
-
- DoubleUpDownCounter - Interface in io.opentelemetry.metrics
-
UpDownCounter is a synchronous instrument and very similar to Counter except that Add(increment)
supports negative increments.
- DoubleUpDownCounter.BoundDoubleUpDownCounter - Interface in io.opentelemetry.metrics
-
- DoubleUpDownCounter.Builder - Interface in io.opentelemetry.metrics
-
- doubleUpDownCounterBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
-
- doubleUpDownCounterBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
-
- DoubleUpDownSumObserver - Interface in io.opentelemetry.metrics
-
UpDownSumObserver is the asynchronous instrument corresponding to UpDownCounter, used to capture
a non-monotonic count with Observe(sum).
- DoubleUpDownSumObserver.Builder - Interface in io.opentelemetry.metrics
-
- doubleUpDownSumObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
-
- doubleUpDownSumObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
-
- DoubleValueObserver - Interface in io.opentelemetry.metrics
-
ValueObserver
is the asynchronous instrument corresponding to ValueRecorder, used to
capture values that are treated as individual observations, recorded with the observe(value)
method.
- DoubleValueObserver.Builder - Interface in io.opentelemetry.metrics
-
- doubleValueObserverBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
-
- doubleValueObserverBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
-
- DoubleValueRecorder - Interface in io.opentelemetry.metrics
-
ValueRecorder is a synchronous instrument useful for recording any number, positive or negative.
- DoubleValueRecorder.BoundDoubleValueRecorder - Interface in io.opentelemetry.metrics
-
- DoubleValueRecorder.Builder - Interface in io.opentelemetry.metrics
-
- doubleValueRecorderBuilder(String) - Method in class io.opentelemetry.metrics.DefaultMeter
-
- doubleValueRecorderBuilder(String) - Method in interface io.opentelemetry.metrics.Meter
-
- FAAS_COLDSTART - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Indicates that the serverless function is executed for the first time (aka cold start).
- FAAS_CRON - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For faas.trigger == time, a string containing the schedule period as Cron Expression.
- FAAS_DOCUMENT_COLLECTION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For faas.trigger == datasource, the name of the source on which the operation was perfomed.
- FAAS_DOCUMENT_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For faas.trigger == datasource, the document name/table subjected to the operation.
- FAAS_DOCUMENT_OPERATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For faas.trigger == datasource, describes the type of the operation that was performed on the
data.
- FAAS_DOCUMENT_TIME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For faas.trigger == datasource, a string containing the time when the data was accessed in the
ISO 8601 format expressed in UTC.
- FAAS_EXECUTION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
String containing the execution id of the function.
- FAAS_INVOKED_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The name of the invoked function.
- FAAS_INVOKED_PROVIDER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The cloud provider of the invoked function.
- FAAS_INVOKED_REGION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The cloud region of the invoked function.
- FAAS_TIME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For faas.trigger == time, a string containing the function invocation time in the ISO 8601
format expressed in UTC.
- FAAS_TRIGGER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Type of the trigger on which the function is executed.
- fields() - Method in class io.opentelemetry.trace.propagation.HttpTraceContext
-
- forEach(AttributeConsumer) - Method in class io.opentelemetry.common.Attributes
-
- forEach(LabelConsumer) - Method in class io.opentelemetry.common.Labels
-
- forEach(AttributeConsumer) - Method in interface io.opentelemetry.common.ReadableAttributes
-
Iterates over all the key-value pairs of attributes contained by this instance.
- fromLong(long) - Static method in class io.opentelemetry.trace.SpanId
-
Generate a valid
SpanId
from the given long value.
- fromLongs(long, long) - Static method in class io.opentelemetry.trace.TraceId
-
Constructs a TraceId
whose representation is specified by two long values representing
the lower and higher parts.
- get(AttributeKey<T>) - Method in class io.opentelemetry.common.Attributes
-
- get(AttributeKey<T>) - Method in interface io.opentelemetry.common.ReadableAttributes
-
- get(String) - Method in class io.opentelemetry.metrics.DefaultMeterProvider
-
- get(String, String) - Method in class io.opentelemetry.metrics.DefaultMeterProvider
-
- get(String) - Method in interface io.opentelemetry.metrics.MeterProvider
-
Gets or creates a named meter instance.
- get(String, String) - Method in interface io.opentelemetry.metrics.MeterProvider
-
Gets or creates a named and versioned meter instance.
- get(String) - Method in class io.opentelemetry.trace.DefaultTracerProvider
-
- get(String, String) - Method in class io.opentelemetry.trace.DefaultTracerProvider
-
- get(String) - Method in interface io.opentelemetry.trace.TracerProvider
-
Gets or creates a named tracer instance.
- get(String, String) - Method in interface io.opentelemetry.trace.TracerProvider
-
Gets or creates a named and versioned tracer instance.
- get(String) - Method in class io.opentelemetry.trace.TraceState
-
Returns the value to which the specified key is mapped, or null if this map contains no mapping
for the key.
- getBaggage(Context) - Static method in class io.opentelemetry.baggage.BaggageUtils
-
Returns the
Baggage
from the specified
Context
, falling back to an empty
Baggage
.
- getBaggageManager() - Static method in class io.opentelemetry.OpenTelemetry
-
- getBaggageWithoutDefault(Context) - Static method in class io.opentelemetry.baggage.BaggageUtils
-
Returns the
Baggage
from the specified
Context
.
- getContext() - Method in class io.opentelemetry.trace.DefaultSpan
-
- getContext() - Method in interface io.opentelemetry.trace.Span
-
Returns the SpanContext
associated with this Span
.
- getCurrentBaggage() - Method in interface io.opentelemetry.baggage.BaggageManager
-
Returns the current Baggage
.
- getCurrentBaggage() - Static method in class io.opentelemetry.baggage.BaggageUtils
-
Returns the
Baggage
from the current context, falling back
to an empty
Baggage
.
- getCurrentBaggage() - Method in class io.opentelemetry.baggage.DefaultBaggageManager
-
- getCurrentSpan() - Method in class io.opentelemetry.trace.DefaultTracer
-
- getCurrentSpan() - Method in interface io.opentelemetry.trace.Tracer
-
Gets the current Span from the current Context.
- getCurrentSpan() - Static method in class io.opentelemetry.trace.TracingContextUtils
-
Returns the
Span
from the current
Context
, falling back to a default, no-op
Span
.
- getDefault() - Static method in class io.opentelemetry.trace.TraceFlags
-
Returns the default TraceFlags
.
- getDefault() - Static method in class io.opentelemetry.trace.TraceState
-
Returns the default TraceState
with no entries.
- getEndTimestamp() - Method in class io.opentelemetry.trace.EndSpanOptions
-
Returns the end timestamp.
- getEntries() - Method in interface io.opentelemetry.baggage.Baggage
-
Returns an immutable collection of the entries in this Baggage
.
- getEntries() - Method in class io.opentelemetry.baggage.EmptyBaggage
-
- getEntries() - Method in class io.opentelemetry.trace.TraceState
-
Returns a List
view of the mappings contained in this TraceState
.
- getEntryMetadata() - Method in class io.opentelemetry.baggage.Entry
-
- getEntryTtl() - Method in class io.opentelemetry.baggage.EntryMetadata
-
- getEntryValue(String) - Method in interface io.opentelemetry.baggage.Baggage
-
Returns the String
associated with the given key.
- getEntryValue(String) - Method in class io.opentelemetry.baggage.EmptyBaggage
-
- getHexLength() - Static method in class io.opentelemetry.trace.SpanId
-
Returns the length of the base16 (hex) representation of the SpanId
.
- getHexLength() - Static method in class io.opentelemetry.trace.TraceFlags
-
Returns the size in Hex of trace flags.
- getHexLength() - Static method in class io.opentelemetry.trace.TraceId
-
Returns the length of the base16 (hex) representation of the TraceId
.
- getInstance() - Static method in class io.opentelemetry.baggage.DefaultBaggageManager
-
Returns a
BaggageManager
singleton that is the default implementation for
BaggageManager
.
- getInstance() - Static method in class io.opentelemetry.baggage.EmptyBaggage
-
- getInstance() - Static method in class io.opentelemetry.metrics.DefaultMeter
-
Returns a
Meter
singleton that is the default implementations for
Meter
.
- getInstance() - Static method in class io.opentelemetry.metrics.DefaultMeterProvider
-
Returns a
MeterProvider
singleton that is the default implementation for
MeterProvider
.
- getInstance() - Static method in class io.opentelemetry.trace.DefaultTracer
-
Returns a
Tracer
singleton that is the default implementations for
Tracer
.
- getInstance() - Static method in class io.opentelemetry.trace.DefaultTracerProvider
-
Returns a
TracerProvider
singleton that is the default implementation for
TracerProvider
.
- getInstance() - Static method in class io.opentelemetry.trace.propagation.HttpTraceContext
-
- getInvalid() - Static method in class io.opentelemetry.trace.DefaultSpan
-
- getInvalid() - Static method in class io.opentelemetry.trace.SpanContext
-
Returns the invalid SpanContext
that can be used for no-op operations.
- getInvalid() - Static method in class io.opentelemetry.trace.SpanId
-
Returns the invalid SpanId
.
- getInvalid() - Static method in class io.opentelemetry.trace.TraceId
-
Returns the invalid TraceId
.
- getKey() - Method in class io.opentelemetry.baggage.Entry
-
Returns the entry's key.
- getKey() - Method in interface io.opentelemetry.common.AttributeKey
-
Returns the underlying String representation of the key.
- getKey() - Method in class io.opentelemetry.trace.TraceState.Entry
-
Returns the key String
.
- getMeter(String) - Static method in class io.opentelemetry.OpenTelemetry
-
Gets or creates a named meter instance.
- getMeter(String, String) - Static method in class io.opentelemetry.OpenTelemetry
-
Gets or creates a named and versioned meter instance.
- getMeterProvider() - Static method in class io.opentelemetry.OpenTelemetry
-
- getPropagators() - Static method in class io.opentelemetry.OpenTelemetry
-
Returns a ContextPropagators
object, which can be used to access the set of registered
propagators for each supported format.
- getSampled() - Static method in class io.opentelemetry.trace.TraceFlags
-
- getSize() - Static method in class io.opentelemetry.trace.SpanId
-
Returns the size in bytes of the SpanId
.
- getSize() - Static method in class io.opentelemetry.trace.TraceId
-
Returns the size in bytes of the TraceId
.
- getSpan(Context) - Static method in class io.opentelemetry.trace.TracingContextUtils
-
Returns the
Span
from the specified
Context
, falling back to a default, no-op
Span
.
- getSpanIdAsHexString() - Method in class io.opentelemetry.trace.SpanContext
-
Returns the span identifier associated with this SpanContext
.
- getSpanIdBytes() - Method in class io.opentelemetry.trace.SpanContext
-
Returns the byte[] representation of the span identifier associated with this
SpanContext
.
- getSpanWithoutDefault(Context) - Static method in class io.opentelemetry.trace.TracingContextUtils
-
Returns the
Span
from the specified
Context
.
- getTraceFlags() - Method in class io.opentelemetry.trace.SpanContext
-
- getTraceIdAsHexString() - Method in class io.opentelemetry.trace.SpanContext
-
Returns the trace identifier associated with this SpanContext
.
- getTraceIdBytes() - Method in class io.opentelemetry.trace.SpanContext
-
Returns the byte[] representation of the trace identifier associated with this
SpanContext
.
- getTraceIdRandomPart(CharSequence) - Static method in class io.opentelemetry.trace.TraceId
-
Returns the rightmost 8 bytes of the trace-id as a long value.
- getTracer(String) - Static method in class io.opentelemetry.OpenTelemetry
-
Gets or creates a named tracer instance.
- getTracer(String, String) - Static method in class io.opentelemetry.OpenTelemetry
-
Gets or creates a named and versioned tracer instance.
- getTracerProvider() - Static method in class io.opentelemetry.OpenTelemetry
-
- getTraceState() - Method in class io.opentelemetry.trace.SpanContext
-
Returns the TraceState
associated with this SpanContext
.
- getType() - Method in interface io.opentelemetry.common.AttributeKey
-
Returns the type of attribute for this key.
- getValue() - Method in class io.opentelemetry.baggage.Entry
-
Returns the entry's value.
- getValue() - Method in class io.opentelemetry.trace.TraceState.Entry
-
Returns the value String
.
- GRPC_MESSAGE_COMPRESSED_SIZE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
gRPC span event attribute for compressed size of a message.
- GRPC_MESSAGE_EVENT_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The name of a gRPC span event to populate for each message sent / received.
- GRPC_MESSAGE_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
gRPC span event attribute starting from 1 for each of sent messages and received messages.
- GRPC_MESSAGE_TYPE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
gRPC span event attribute with value "SENT" or "RECEIVED".
- GRPC_MESSAGE_UNCOMPRESSED_SIZE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
gRPC span event attribute for uncompressed size of a message.
- HBASE_NAMESPACE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For db.system == hbase, the namespace being accessed.
- HTTP_CLIENT_IP - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The IP address of the original client behind all proxies, if known.
- HTTP_FLAVOR - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Kind of HTTP protocol used: "1.0", "1.1", "2", "SPDY" or "QUIC".
- HTTP_HOST - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The value of the HTTP host header.
- HTTP_METHOD - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
HTTP request method.
- HTTP_REQUEST_CONTENT_LENGTH - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The size of the request payload body, in bytes.
- HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The size of the uncompressed request payload body, in bytes.
- HTTP_RESPONSE_CONTENT_LENGTH - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The size of the response payload body, in bytes.
- HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The size of the uncompressed response payload body, in bytes.
- HTTP_ROUTE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The matched route (path template).
- HTTP_SCHEME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The URI scheme identifying the used protocol: "http" or "https".
- HTTP_SERVER_NAME - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The primary server name of the matched virtual host.
- HTTP_STATUS_CODE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
HTTP response status code.
- HTTP_TARGET - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The full request target as passed in a HTTP request line or equivalent.
- HTTP_URL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment].
- HTTP_USER_AGENT - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Value of the HTTP "User-Agent" header sent by the client.
- HttpTraceContext - Class in io.opentelemetry.trace.propagation
-
Implementation of the TraceContext propagation protocol.
- MAX_KEY_LENGTH - Static variable in class io.opentelemetry.baggage.Entry
-
The maximum length for an entry key name.
- MAX_VALUE_LENGTH - Static variable in class io.opentelemetry.baggage.Entry
-
The maximum length for a entry value.
- MAX_VENDOR_ID_SIZE - Static variable in class io.opentelemetry.trace.TraceState
-
- MESSAGING_CONVERSATION_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
A value identifying the conversation to which the message belongs, represented as a string.
- MESSAGING_DESTINATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The message destination name, e.g.
- MESSAGING_DESTINATION_KIND - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The kind of message destination.
- MESSAGING_MESSAGE_ID - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
A value used by the messaging system as an identifier for the message, represented as a string.
- MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The compressed size of the message payload in bytes.
- MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The (uncompressed) size of the message payload in bytes.
- MESSAGING_OPERATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
A string identifying which part and kind of message consumption this span describes: either
"receive" or "process".
- MESSAGING_PROTOCOL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The name of the transport protocol such as AMQP or MQTT.
- MESSAGING_PROTOCOL_VERSION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The version of the transport protocol such as 0.9.1.
- MESSAGING_SYSTEM - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
A string identifying the messaging system such as kafka, rabbitmq or activemq.
- MESSAGING_TEMP_DESTINATION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
A boolean that is true if the message destination is temporary.
- MESSAGING_URL - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
Connection string such as tibjmsnaming://localhost:7222 or
https://queue.amazonaws.com/80398EXAMPLE/MyQueue
- METADATA_UNLIMITED_PROPAGATION - Static variable in class io.opentelemetry.baggage.Entry
-
Default propagation metadata - unlimited propagation.
- Meter - Interface in io.opentelemetry.metrics
-
Meter is a simple, interface that allows users to record measurements (metrics).
- MeterProvider - Interface in io.opentelemetry.metrics
-
A registry for creating named
Meter
s.
- MeterProviderFactory - Interface in io.opentelemetry.metrics.spi
-
- MONGODB_COLLECTION - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For db.system == mongodb, the collection being accessed within the database stated in db.name
- MSSQL_SQL_SERVER - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For db.system == mssql, the instance name connecting to.
- ReadableAttributes - Interface in io.opentelemetry.common
-
A read-only container for String-keyed attributes.
- record() - Method in interface io.opentelemetry.metrics.BatchRecorder
-
Records all of measurements at the same time.
- record(double) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.BoundDoubleValueRecorder
-
Records the given measurement, associated with the current Context
.
- record(double, Labels) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
-
Records the given measurement, associated with the current Context
and provided set of
labels.
- record(double) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder
-
Records the given measurement, associated with the current Context
and empty labels.
- record(long) - Method in interface io.opentelemetry.metrics.LongValueRecorder.BoundLongValueRecorder
-
Records the given measurement, associated with the current Context
.
- record(long, Labels) - Method in interface io.opentelemetry.metrics.LongValueRecorder
-
Records the given measurement, associated with the current Context
and provided set of
labels.
- record(long) - Method in interface io.opentelemetry.metrics.LongValueRecorder
-
Records the given measurement, associated with the current Context
and empty labels.
- recordException(Throwable) - Method in class io.opentelemetry.trace.DefaultSpan
-
- recordException(Throwable, Attributes) - Method in class io.opentelemetry.trace.DefaultSpan
-
- recordException(Throwable) - Method in interface io.opentelemetry.trace.Span
-
Records information about the
Throwable
to the
Span
.
- recordException(Throwable, Attributes) - Method in interface io.opentelemetry.trace.Span
-
Records information about the
Throwable
to the
Span
.
- REDIS_DATABASE_INDEX - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
For db.system == redis, the index of the database being accessed as used in the SELECT command,
provided as an integer.
- remove(String) - Method in interface io.opentelemetry.baggage.Baggage.Builder
-
Removes the key if it exists.
- remove(String) - Method in class io.opentelemetry.trace.TraceState.Builder
-
Removes the Entry
that has the given key
if it is present.
- RPC_METHOD - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
- RPC_SERVICE - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
The full name of the service being called, including its package name, if applicable.
- RPC_SYSTEM - Static variable in class io.opentelemetry.trace.attributes.SemanticAttributes
-
A string identifying the remoting system, e.g., "grpc", "java_rmi" or "wcf".
- SemanticAttributes - Class in io.opentelemetry.trace.attributes
-
Defines constants for all attribute names defined in the OpenTelemetry Semantic Conventions
specifications.
- set(String, String) - Method in class io.opentelemetry.trace.TraceState.Builder
-
Adds or updates the Entry
that has the given key
if it is present.
- setAttribute(AttributeKey<Long>, int) - Method in class io.opentelemetry.common.Attributes.Builder
-
- setAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.common.Attributes.Builder
-
- setAttribute(String, String) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a String attribute into this.
- setAttribute(String, long) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a long attribute into this.
- setAttribute(String, double) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a double attribute into this.
- setAttribute(String, boolean) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a boolean attribute into this.
- setAttribute(String, String...) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a String array attribute into this.
- setAttribute(String, Long...) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a Long array attribute into this.
- setAttribute(String, Double...) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a Double array attribute into this.
- setAttribute(String, Boolean...) - Method in class io.opentelemetry.common.Attributes.Builder
-
Sets a Boolean array attribute into this.
- setAttribute(String, String) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setAttribute(String, long) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setAttribute(String, double) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setAttribute(String, boolean) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setAttribute(AttributeKey<T>, T) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setAttribute(String, String) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets an attribute to the newly created Span
.
- setAttribute(String, long) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets an attribute to the newly created Span
.
- setAttribute(String, double) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets an attribute to the newly created Span
.
- setAttribute(String, boolean) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets an attribute to the newly created Span
.
- setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets an attribute to the newly created Span
.
- setAttribute(String, String) - Method in interface io.opentelemetry.trace.Span
-
Sets an attribute to the Span
.
- setAttribute(String, long) - Method in interface io.opentelemetry.trace.Span
-
Sets an attribute to the Span
.
- setAttribute(String, double) - Method in interface io.opentelemetry.trace.Span
-
Sets an attribute to the Span
.
- setAttribute(String, boolean) - Method in interface io.opentelemetry.trace.Span
-
Sets an attribute to the Span
.
- setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.trace.Span
-
Sets an attribute to the Span
.
- setAttribute(AttributeKey<Long>, int) - Method in interface io.opentelemetry.trace.Span
-
Sets an attribute to the Span
.
- setCallback(AsynchronousInstrument.Callback<R>) - Method in interface io.opentelemetry.metrics.AsynchronousInstrument
-
Sets a callback that gets executed every collection interval.
- setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.DoubleResult>) - Method in interface io.opentelemetry.metrics.DoubleSumObserver
-
- setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.DoubleResult>) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver
-
- setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.DoubleResult>) - Method in interface io.opentelemetry.metrics.DoubleValueObserver
-
- setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.LongResult>) - Method in interface io.opentelemetry.metrics.LongSumObserver
-
- setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.LongResult>) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver
-
- setCallback(AsynchronousInstrument.Callback<AsynchronousInstrument.LongResult>) - Method in interface io.opentelemetry.metrics.LongValueObserver
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.Instrument.Builder
-
Sets the description of the Instrument
.
- setDescription(String) - Method in interface io.opentelemetry.metrics.LongCounter.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
-
- setDescription(String) - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
-
- setEndTimestamp(long) - Method in class io.opentelemetry.trace.EndSpanOptions.Builder
-
Sets the end timestamp for the
Span
.
- setLabel(String, String) - Method in class io.opentelemetry.common.Labels.Builder
-
Sets a single label into this Builder.
- setNoParent() - Method in interface io.opentelemetry.baggage.Baggage.Builder
-
Sets the option to become a root
Baggage
with no parent.
- setNoParent() - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets the option to become a root Span
for a new trace.
- setParent(Baggage) - Method in interface io.opentelemetry.baggage.Baggage.Builder
-
- setParent(Context) - Method in interface io.opentelemetry.baggage.Baggage.Builder
-
Sets the parent
Baggage
to use from the specified
Context
.
- setParent(Context) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets the parent to use from the specified Context
.
- setPropagators(ContextPropagators) - Static method in class io.opentelemetry.OpenTelemetry
-
Sets the ContextPropagators
object, which can be used to access the set of registered
propagators for each supported format.
- setSpanKind(Span.Kind) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets the
Span.Kind
for the newly created
Span
.
- setStartTimestamp(long) - Method in interface io.opentelemetry.trace.Span.Builder
-
Sets an explicit start timestamp for the newly created Span
.
- setStatus(StatusCanonicalCode) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setStatus(StatusCanonicalCode, String) - Method in class io.opentelemetry.trace.DefaultSpan
-
- setStatus(StatusCanonicalCode) - Method in interface io.opentelemetry.trace.Span
-
Sets the status to the Span
.
- setStatus(StatusCanonicalCode, String) - Method in interface io.opentelemetry.trace.Span
-
Sets the status to the Span
.
- setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleCounter.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleSumObserver.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownCounter.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleUpDownSumObserver.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleValueObserver.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.DoubleValueRecorder.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.Instrument.Builder
-
Sets the unit of the Instrument
.
- setUnit(String) - Method in interface io.opentelemetry.metrics.LongCounter.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.LongSumObserver.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.LongUpDownCounter.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.LongUpDownSumObserver.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.LongValueObserver.Builder
-
- setUnit(String) - Method in interface io.opentelemetry.metrics.LongValueRecorder.Builder
-
- size() - Method in interface io.opentelemetry.common.ReadableAttributes
-
The number of attributes contained in this.
- Span - Interface in io.opentelemetry.trace
-
An interface that represents a span.
- Span.Builder - Interface in io.opentelemetry.trace
-
Span.Builder
is used to construct
Span
instances which define arbitrary scopes of
code that are sampled for distributed tracing as a single atomic unit.
- Span.Kind - Enum in io.opentelemetry.trace
-
Type of span.
- spanBuilder(String) - Method in class io.opentelemetry.trace.DefaultTracer
-
- spanBuilder(String) - Method in interface io.opentelemetry.trace.Tracer
-
- SpanContext - Class in io.opentelemetry.trace
-
A class that represents a span context.
- SpanContext() - Constructor for class io.opentelemetry.trace.SpanContext
-
- SpanId - Class in io.opentelemetry.trace
-
Helper methods for dealing with a span identifier.
- startSpan() - Method in interface io.opentelemetry.trace.Span.Builder
-
- StatusCanonicalCode - Enum in io.opentelemetry.trace
-
The set of canonical status codes.
- stringArrayKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
-
Returns a new AttributeKey for List<String> valued attributes.
- stringKey(String) - Static method in interface io.opentelemetry.common.AttributeKey
-
Returns a new AttributeKey for String valued attributes.
- SynchronousInstrument<B extends SynchronousInstrument.BoundInstrument> - Interface in io.opentelemetry.metrics
-
SynchronousInstrument is an interface that defines a type of instruments that are used to report
measurements synchronously.
- SynchronousInstrument.BoundInstrument - Interface in io.opentelemetry.metrics
-
- SynchronousInstrument.Builder - Interface in io.opentelemetry.metrics
-