Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addAttributesExtractor(AttributesExtractor<? super REQUEST, ? super RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
AttributesExtractorthat will extract attributes from requests and responses. - addAttributesExtractors(AttributesExtractor<? super REQUEST, ? super RESPONSE>...) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds
AttributesExtractors that will extract attributes from requests and responses. - addAttributesExtractors(Iterable<? extends AttributesExtractor<? super REQUEST, ? super RESPONSE>>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds
AttributesExtractors that will extract attributes from requests and responses. - addContextCustomizer(ContextCustomizer<? super REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
ContextCustomizerthat will customize the context duringInstrumenter.start(Context, Object). - addEnvironmentVariables() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Adds environment variables (converted to the Java property naming convention) to the config.
- addLink(SpanContext) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanLinksBuilder
-
Adds a link to the newly created
Span. - addLink(SpanContext, Attributes) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanLinksBuilder
-
Adds a link to the newly created
Span. - addOperationListener(OperationListener) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
OperationListenerthat will be called when an instrumented operation starts and ends. - addOperationMetrics(OperationMetrics) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
OperationMetricsthat will produce aOperationListenercapturing the requests processing metrics. - addProperties(Map<String, String>) - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Adds all properties from the passed
Mapto the config. - addProperties(Properties) - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Adds all properties from the passed
Propertiesto the config. - addProperty(String, String) - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Adds a single property to the config.
- addSpanLinksExtractor(SpanLinksExtractor<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
SpanLinksExtractorthat will extract span links from requests. - addSystemProperties() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Adds system properties to the config.
- alwaysClient() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanKindExtractor
-
Returns a
SpanNameExtractorwhich always returnsSpanKind.CLIENT. - alwaysConsumer() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanKindExtractor
-
Returns a
SpanNameExtractorwhich always returnsSpanKind.CONSUMER. - alwaysInternal() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanKindExtractor
-
Returns a
SpanNameExtractorwhich always returnsSpanKind.INTERNAL. - alwaysProducer() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanKindExtractor
-
Returns a
SpanNameExtractorwhich always returnsSpanKind.PRODUCER. - alwaysServer() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanKindExtractor
-
Returns a
SpanNameExtractorwhich always returnsSpanKind.SERVER. - appendLocations(Context, StackTraceElement[], Object) - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
- approximateSize() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
-
Returns the approximate size of this map where the returned number is at least as big as the actual number of entries.
- approximateSize() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- ascendingKeySet() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns a unmodifiable snapshot
Setview of the keys contained in this map. - ascendingKeySetWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Setview of the keys contained in this map. - ascendingMap() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map. - ascendingMapWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map. - asEntryWeigher(Weigher<? super V>) - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A entry weigher backed by the specified weigher.
- AttributesExtractor<REQUEST,
RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter -
Extractor of
Attributesfor a given request and response. - AttributesExtractorUtil - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
B
- bounded(int) - Static method in interface io.opentelemetry.instrumentation.api.internal.cache.Cache
-
Returns new bounded cache.
- build() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- build() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Creates a new
ConcurrentLinkedHashMapinstance. - builder() - Static method in class io.opentelemetry.instrumentation.api.config.Config
-
Start building a new
Configinstance. - builder(OpenTelemetry, String, SpanNameExtractor<? super REQUEST>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Returns a new
InstrumenterBuilder. - Builder() - Constructor for class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
- byteArray() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a byte array and its weight is the number of bytes.
C
- Cache<K,
V> - Interface in io.opentelemetry.instrumentation.api.internal.cache -
A cache from keys to values.
- capacity() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Retrieves the maximum weighted capacity of the map.
- ClassNames - Class in io.opentelemetry.instrumentation.api.util
-
A utility class used to compute readable simple class names.
- clear() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- clear() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
-
Clears the entire map.
- collection() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Collectionand its weight is the number of elements. - computeIfAbsent(K, Function<? super K, ? extends V>) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.Cache
-
Returns the cached value associated with the provided
key. - computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- concurrencyLevel(int) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies the estimated number of concurrently updating threads.
- ConcurrentLinkedHashMap<K,
V> - Class in io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap -
A hash table supporting full concurrency of retrievals, adjustable expected concurrency for updates, and a maximum capacity to bound the map by.
- ConcurrentLinkedHashMap.Builder<K,
V> - Class in io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap -
A builder that creates
ConcurrentLinkedHashMapinstances. - Config - Class in io.opentelemetry.instrumentation.api.config
-
Represents the global agent configuration consisting of system properties, environment variables, contents of the agent configuration file and properties defined by the
ConfigPropertySourceSPI implementations. - ConfigBuilder - Class in io.opentelemetry.instrumentation.api.config
-
A builder of a
Config. - constant(AttributeKey<T>, T) - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Returns an
AttributesExtractorimplementation that always extracts the provided constant value on the request start. - CONSUMER_PROCESS - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- CONSUMER_RECEIVE - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- containsKey(Object) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- containsKey(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- containsKey(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- containsValue(Object) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- ContextCustomizer<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Customizer of the
Context. - ContextPropagationDebug - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
- create(Meter) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.OperationMetrics
-
Returns a
OperationListenerthat records operation metrics using the givenMeter. - current() - Static method in class io.opentelemetry.instrumentation.api.instrumenter.LocalRootSpan
-
Returns the local root span from the current context or invalid span if there is no local root span.
D
- DB_CLIENT - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- debugContextLeakIfEnabled() - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
- defaultValue(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
-
Creates a default value.
- descendingKeySet() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Setview of the keys contained in this map. - descendingKeySetWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Setview of the keys contained in this map. - descendingMap() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map. - descendingMapWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map.
E
- EmbeddedInstrumentationProperties - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
- end(Context, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Ends an instrumented operation.
- entrySet() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- entrySingleton() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where an entry has a weight of 1.
- EntryWeigher<K,
V> - Interface in io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap -
A class that can determine the weight of an entry.
- ErrorCauseExtractor - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the root cause of a
Throwable. - EvictionListener<K,
V> - Interface in io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap -
A listener registered for notification when an entry is evicted.
- expungeStaleEntries() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
-
Cleans all unused references.
- extract(SpanLinksBuilder, Context, REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanLinksExtractor
-
Extracts
SpanContexts that should be linked to the newly created span and adds them tospanLinks. - extract(SpanStatusBuilder, REQUEST, RESPONSE, Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanStatusExtractor
-
Extracts the status from the response and sets it to the
spanStatusBuilder. - extract(Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.ErrorCauseExtractor
-
Strips away the wrapper exceptions and returns the actual cause of a request error.
- extract(REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanKindExtractor
-
Returns the
SpanKindcorresponding to theSpanKindExtractor. - extract(REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanNameExtractor
-
Returns the span name.
- extractEndTime(REQUEST, RESPONSE, Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.TimeExtractor
-
Deprecated.Returns the timestamp marking the end of the request processing.
- extractFromRequest(TextMapPropagator, TextMapGetter<REQUEST>) - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanLinksExtractor
-
Returns a new
SpanLinksExtractorthat will extract aSpanContextfrom the request using configuredTextMapPropagator. - extractStartTime(REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.TimeExtractor
-
Deprecated.Returns the timestamp marking the start of the request processing.
F
- find(Class<T>, Class<F>) - Method in interface io.opentelemetry.instrumentation.api.internal.RuntimeVirtualFieldSupplier.VirtualFieldSupplier
- find(Class<T>, Class<F>) - Static method in class io.opentelemetry.instrumentation.api.util.VirtualField
- findVersion(String) - Static method in class io.opentelemetry.instrumentation.api.internal.EmbeddedInstrumentationProperties
- fromContext(Context) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.LocalRootSpan
-
Returns the local root span from the given context or invalid span if there is no local root span in the context.
- fromContextOrNull(Context) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.LocalRootSpan
-
Returns the local root span from the given context or
nullif there is no local root span in the context. - fromContextOrNull(Context) - Method in class io.opentelemetry.instrumentation.api.internal.SpanKey
G
- get() - Static method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns the global agent configuration.
- get() - Static method in class io.opentelemetry.instrumentation.api.internal.RuntimeVirtualFieldSupplier
- get(Object) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- get(K) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.Cache
-
Returns the cached value associated with the provided
keyif present, ornullotherwise. - get(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- get(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- get(T) - Method in class io.opentelemetry.instrumentation.api.util.VirtualField
-
Gets the value of this virtual field.
- getAllProperties() - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns all properties stored in this
Configinstance. - getBoolean(String, boolean) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a boolean-valued configuration property or
defaultValueif a property with namenamehas not been configured. - getCleanerThread() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- getDefault() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanStatusExtractor
-
Returns the default
SpanStatusExtractor, which returnsStatusCode.ERRORif the framework returned an unhandled exception, orStatusCode.UNSETotherwise. - getDouble(String, double) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a double-valued configuration property or
defaultValueif a property with namenamehas not been configured or when parsing has failed. - getDuration(String, Duration) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a duration-valued configuration property or
defaultValueif a property with namenamehas not been configured or when parsing has failed. - getIfPresent(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- getIfPresent(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- getInt(String, int) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns an integer-valued configuration property or
defaultValueif a property with namenamehas not been configured or when parsing has failed. - getList(String, List<String>) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a list-valued configuration property or
defaultValueif a property with namenamehas not been configured. - getLong(String, long) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a long-valued configuration property or
defaultValueif a property with namenamehas not been configured or when parsing has failed. - getLookupKey(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- getMap(String, Map<String, String>) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a map-valued configuration property or
defaultValueif a property with namenamehas not been configured or when parsing has failed. - getQuietly(Object) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns the value to which the specified key is mapped, or
nullif this map contains no mapping for the key. - getString(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a string-valued configuration property or
nullif a property with namenamehas not been configured. - getString(String, String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a string-valued configuration property or
defaultValueif a property with namenamehas not been configured. - GuardedBy - Annotation Type in io.opentelemetry.instrumentation.api.internal
-
The field or method to which this annotation is applied can only be accessed when holding a particular lock, which may be a built-in (synchronization) lock, or may be an explicit
Lock.
H
- HTTP_CLIENT - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- HTTP_SERVER - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
I
- incrementCounter(String) - Method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- initialCapacity(int) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies the initial capacity of the hash table (default 16).
- instance() - Static method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- Instrumenter<REQUEST,
RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter -
The
Instrumenterencapsulates the entire logic for gathering telemetry, from collecting the data, to starting and ending spans, to recording values using metrics instruments. - InstrumenterBuilder<REQUEST,
RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter -
A builder of an
Instrumenter. - InstrumenterUtil - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
- internalGetSpanKey() - Method in interface io.opentelemetry.instrumentation.api.internal.SpanKeyProvider
- internalInitializeConfig(Config) - Static method in class io.opentelemetry.instrumentation.api.config.Config
-
Sets the agent configuration singleton.
- internalSet(AttributesBuilder, AttributeKey<T>, T) - Static method in class io.opentelemetry.instrumentation.api.internal.AttributesExtractorUtil
-
Sets the
valuewith the givenkeyto theAttributesBuilderifvalueis notnull. - io.opentelemetry.instrumentation.api.config - package io.opentelemetry.instrumentation.api.config
- io.opentelemetry.instrumentation.api.instrumenter - package io.opentelemetry.instrumentation.api.instrumenter
- io.opentelemetry.instrumentation.api.internal - package io.opentelemetry.instrumentation.api.internal
- io.opentelemetry.instrumentation.api.internal.cache - package io.opentelemetry.instrumentation.api.internal.cache
- io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap - package io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap
-
This package contains an implementation of a bounded
ConcurrentMapdata structure. - io.opentelemetry.instrumentation.api.internal.cache.weaklockfree - package io.opentelemetry.instrumentation.api.internal.cache.weaklockfree
- io.opentelemetry.instrumentation.api.util - package io.opentelemetry.instrumentation.api.util
- isEmpty() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- isThreadPropagationDebuggerEnabled() - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
- iterable() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Iterableand its weight is the number of elements. - iterator() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- iterator() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
J
- jdk() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.ErrorCauseExtractor
-
Returns a
ErrorCauseExtractorwhich unwraps common standard library wrapping exceptions.
K
- keySet() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- KIND_CLIENT - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- KIND_CONSUMER - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- KIND_PRODUCER - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- KIND_SERVER - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
L
- list() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Listand its weight is the number of elements. - listener(EvictionListener<K, V>) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies an optional listener that is registered for notification when an entry is evicted.
- LocalRootSpan - Class in io.opentelemetry.instrumentation.api.instrumenter
-
A local root span is a span that either does not have a parent span (it is the root span of a trace), or its parent span is a remote span (context was propagated from another application).
- LocalRootSpan() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.LocalRootSpan
M
- map() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Mapand its weight is the number of entries. - maximumWeightedCapacity(long) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies the maximum weighted capacity to coerce the map to and may exceed it temporarily.
N
- newClientInstrumenter(TextMapSetter<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create client spans and inject context into requests. - newConsumerInstrumenter(TextMapGetter<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create consumer spans and extract context from requests. - newInstrumenter() - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create internal spans and do no context propagation. - newInstrumenter(SpanKindExtractor<? super REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create spans with kind determined by the passedSpanKindExtractorand do no context propagation. - newProducerInstrumenter(TextMapSetter<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create producer spans and inject context into requests. - newServerInstrumenter(TextMapGetter<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create server spans and extract context from requests.
O
- onEnd(AttributesBuilder, Context, REQUEST, RESPONSE, Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Extracts attributes from the
Context, theAttributesExtractorand eitherAttributesExtractororerrorinto theAttributesBuilderat the end of a request. - onEnd(Context, Attributes, long) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.OperationListener
-
Listener method that is called at the end of an instrumented operation.
- onEviction(K, V) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.EvictionListener
-
A call-back notification that the entry was evicted.
- onStart(AttributesBuilder, Context, REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Extracts attributes from the
Contextand theAttributesExtractorinto theAttributesBuilderat the beginning of a request. - onStart(Context, Attributes, long) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.OperationListener
-
Listener method that is called at the start of an instrumented operation.
- onStart(Context, REQUEST, Attributes) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.ContextCustomizer
-
Allows to customize the operation
Context. - OperationListener - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
A listener of the start and end of an instrumented operation.
- OperationMetrics - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
A factory for creating a
OperationListenerinstance that records operation metrics.
P
- PRODUCER - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- put(K, V) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.Cache
-
Puts the
valueinto the cache for thekey. - put(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- put(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- put(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- putIfAbsent(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- putIfAbsent(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- putIfAbsent(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- putIfProbablyAbsent(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
R
- recordSuppressedSpan(SpanKind, String) - Method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- remove(Object) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- remove(Object, Object) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- remove(K) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.Cache
-
Removes a value for
keyif present. - remove(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- remove(K) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- replace(K, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- replace(K, V, V) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- resetLookupKey(WeakConcurrentMap.LookupKey<K>) - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- RPC_CLIENT - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- RPC_SERVER - Static variable in class io.opentelemetry.instrumentation.api.internal.SpanKey
- run() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- RuntimeVirtualFieldSupplier - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
- RuntimeVirtualFieldSupplier.VirtualFieldSupplier - Interface in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
S
- set() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Setand its weight is the number of elements. - set(RuntimeVirtualFieldSupplier.VirtualFieldSupplier) - Static method in class io.opentelemetry.instrumentation.api.internal.RuntimeVirtualFieldSupplier
- set(T, F) - Method in class io.opentelemetry.instrumentation.api.util.VirtualField
-
Sets the new value of this virtual field.
- setCapacity(long) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Sets the maximum weighted capacity of the map and eagerly evicts entries until it shrinks to the appropriate size.
- setEnabled(boolean) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Allows enabling/disabling the
Instrumenterbased on theenabledvalue passed as parameter. - setErrorCauseExtractor(ErrorCauseExtractor) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the
ErrorCauseExtractorthat will extract the root cause of an error thrown during request processing. - setInstrumentationVersion(String) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the instrumentation version that will be associated with all telemetry produced by this
Instrumenter. - setPropertiesLoader(ClassLoader) - Static method in class io.opentelemetry.instrumentation.api.internal.EmbeddedInstrumentationProperties
- setSchemaUrl(String) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the OpenTelemetry schema URL that will be associated with all telemetry produced by this
Instrumenter. - setSpanStatusExtractor(SpanStatusExtractor<? super REQUEST, ? super RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the
SpanStatusExtractorthat will determine theStatusCodefor a response. - setStatus(StatusCode) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanStatusBuilder
-
Sets the status to the
Span. - setStatus(StatusCode, String) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanStatusBuilder
-
Sets the status to the
Span. - setTimeExtractor(TimeExtractor<REQUEST, RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Deprecated.Setting operation start and end times is not currently supported.
- shouldStart(Context, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Determines whether the operation should be instrumented for telemetry or not.
- simpleName(Class<?>) - Static method in class io.opentelemetry.instrumentation.api.util.ClassNames
-
Returns a simple class name based on a given class reference, e.g. for use in span names and attributes.
- singleton() - Static method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weighers
-
A weigher where a value has a weight of 1.
- size() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- SpanKey - Class in io.opentelemetry.instrumentation.api.internal
-
Makes span keys for specific instrumentation accessible to enrich and suppress spans.
- SpanKeyProvider - Interface in io.opentelemetry.instrumentation.api.internal
-
Returns the
SpanKeyassociated with theAttributesExtractorthat implements this interface. - SpanKindExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the
SpanKind. - SpanLinksBuilder - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
A builder that exposes methods for adding links to a span.
- SpanLinksExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of span links for a request.
- SpanNameExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the span name for a request.
- SpanStatusBuilder - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
A builder that exposes methods for setting the status of a span.
- SpanStatusExtractor<REQUEST,
RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter -
Extractor of
StatusCode. - SQL_STATEMENT_SANITIZER_CACHE_MISS - Static variable in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics.CounterNames
- start(Context, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Starts a new instrumented operation.
- startAndEnd(Instrumenter<REQUEST, RESPONSE>, Context, REQUEST, RESPONSE, Throwable, Instant, Instant) - Static method in class io.opentelemetry.instrumentation.api.internal.InstrumenterUtil
- storeInContext(Context, Span) - Method in class io.opentelemetry.instrumentation.api.internal.SpanKey
- SupportabilityMetrics - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
- SupportabilityMetrics.CounterNames - Class in io.opentelemetry.instrumentation.api.internal
-
This class is internal and is hence not for public use.
T
- TimeExtractor<REQUEST,
RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter -
Deprecated.Setting operation start and end times is not currently supported.
- toBuilder() - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a new
ConfigBuilderinstance populated with the properties of thisConfig. - toString() - Method in class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- toString() - Method in class io.opentelemetry.instrumentation.api.internal.SpanKey
U
- unwrap(Context) - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
V
- value() - Element in annotation type io.opentelemetry.instrumentation.api.internal.GuardedBy
-
The name of the object guarding the target.
- values() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- VirtualField<T,
F> - Class in io.opentelemetry.instrumentation.api.util -
Represents a "virtual" field of type
Fthat is added to typeTin the runtime. - VirtualField() - Constructor for class io.opentelemetry.instrumentation.api.util.VirtualField
W
- weak() - Static method in interface io.opentelemetry.instrumentation.api.internal.cache.Cache
-
Returns new unbounded cache
- WeakConcurrentMap<K,
V> - Class in io.opentelemetry.instrumentation.api.internal.cache.weaklockfree -
A thread-safe map with weak keys.
- WeakConcurrentMap(boolean) - Constructor for class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- WeakConcurrentMap(boolean, boolean) - Constructor for class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- WeakConcurrentMap(boolean, boolean, ConcurrentMap<AbstractWeakConcurrentMap.WeakKey<K>, V>) - Constructor for class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap
- WeakConcurrentMap.WithInlinedExpunction<K,
V> - Class in io.opentelemetry.instrumentation.api.internal.cache.weaklockfree -
A
WeakConcurrentMapwhere stale entries are removed as a side effect of interacting with this map. - weigher(EntryWeigher<? super K, ? super V>) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies an algorithm to determine how many the units of capacity an entry consumes.
- weigher(Weigher<? super V>) - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies an algorithm to determine how many the units of capacity a value consumes.
- Weigher<V> - Interface in io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap
-
A class that can determine the weight of a value.
- Weighers - Class in io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap
-
A common set of
WeigherandEntryWeigherimplementations. - weightedSize() - Method in class io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns the weighted size of this map.
- weightOf(K, V) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.EntryWeigher
-
Measures an entry's weight to determine how many units of capacity that the key and value consumes.
- weightOf(V) - Method in interface io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.Weigher
-
Measures an object's weight to determine how many units of capacity that the value consumes.
- WithInlinedExpunction() - Constructor for class io.opentelemetry.instrumentation.api.internal.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form