A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAttributesExtractor(AttributesExtractor<? super REQUEST, ? super RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
AttributesExtractorto extract attributes from requests and responses. - addAttributesExtractors(AttributesExtractor<? super REQUEST, ? super RESPONSE>...) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds
AttributesExtractors to 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 to extract attributes from requests and responses. - addContextCustomizer(ContextCustomizer<? super REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
ContextCustomizerto customize the context duringInstrumenter.start(Context, Object). - 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. - addProperty(String, String) - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- addRequestMetrics(RequestMetrics) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
RequestMetricswhose metrics will be recorded for request start and stop. - addSpanLinksExtractor(SpanLinksExtractor<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
SpanLinksExtractorto extract span links from requests. - ALL_CLIENTS - Static variable in class io.opentelemetry.instrumentation.api.instrumenter.SpanKey
- 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.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- AppServerBridge - Class in io.opentelemetry.instrumentation.api.servlet
-
Helper container for Context attributes for transferring certain information between servlet integration and app-server server handler integrations.
- argToString(Object) - Static method in interface io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer
- ascendingKeySet() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns a unmodifiable snapshot
Setview of the keys contained in this map. - ascendingKeySetWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Setview of the keys contained in this map. - ascendingMap() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map. - ascendingMapWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.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.cache.concurrentlinkedhashmap.Weighers
-
A entry weigher backed by the specified weigher.
- asJavaProperties() - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Deprecated.Use
Config.getAllProperties()instead. - attachServerContext(Context, STORAGE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.Stores given context in the given request-response-loop storage in implementation specific way.
- AttributeSetter - Interface in io.opentelemetry.instrumentation.api.tracer
-
This helper interface allows setting attributes on both
SpanandSpanBuilder. - AttributesExtractor<REQUEST,RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of
Attributesfor a given request and response.
B
- BaseTracer - Class in io.opentelemetry.instrumentation.api.tracer
-
Base class for all instrumentation specific tracer implementations.
- BaseTracer() - Constructor for class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Deprecated.always pass an OpenTelemetry instance.
- BaseTracer(OpenTelemetry) - Constructor for class io.opentelemetry.instrumentation.api.tracer.BaseTracer
- bounded(int) - Static method in interface io.opentelemetry.instrumentation.api.cache.Cache
-
Returns new bounded cache.
- build() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Creates a new
ConcurrentLinkedHashMapinstance. - build() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- build(Collection<String>) - Static method in class io.opentelemetry.instrumentation.api.servlet.MappingResolver
- 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(OpenTelemetry, String, 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.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
- byteArray() - Static method in class io.opentelemetry.instrumentation.api.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.cache
-
A cache from keys to values.
- capacity() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Retrieves the maximum weighted capacity of the map.
- CapturedHttpHeaders - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Represents the configuration that specifies which HTTP request and response headers should be captured as span attributes as described in HTTP semantic conventions.
- ClassAndMethod - Class in io.opentelemetry.instrumentation.api.util
- ClassAndMethod() - Constructor for class io.opentelemetry.instrumentation.api.util.ClassAndMethod
- ClassNames - Class in io.opentelemetry.instrumentation.api.tracer
- clear() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- client(Config) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.CapturedHttpHeaders
-
Returns a configuration that captures HTTP client request and response headers as configured in the received
config. - CLIENT - Static variable in interface io.opentelemetry.instrumentation.api.tracer.HttpStatusConverter
- ClientSpan - Class in io.opentelemetry.instrumentation.api.tracer
-
This class encapsulates the context key for storing the current
SpanKind.CLIENTspan in theContext. - CodeAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.code
-
Extractor of source code attributes.
- CodeAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- codeClass(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- CodeSpanNameExtractor<REQUEST> - Class in io.opentelemetry.instrumentation.api.instrumenter.code
-
A helper
SpanNameExtractorimplementation for instrumentations that target specific Java classes/methods. - collection() - Static method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Collectionand its weight is the number of elements. - CommandAndNumArgs(int) - Constructor for class io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.CommandAndNumArgs
- computeIfAbsent(K, Function<? super K, ? extends V>) - Method in interface io.opentelemetry.instrumentation.api.cache.Cache
-
Returns the cached value associated with the provided
key. - concurrencyLevel(int) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies the estimated number of concurrently updating threads.
- ConcurrentLinkedHashMap<K,V> - Class in io.opentelemetry.instrumentation.api.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.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 (seeConfigInitializerandConfigBuilder). - ConfigBuilder - Class in io.opentelemetry.instrumentation.api.config
- ConfigBuilder() - Constructor for class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- ConfigParsingException - Exception in io.opentelemetry.instrumentation.api.config
- ConfigParsingException(String) - Constructor for exception io.opentelemetry.instrumentation.api.config.ConfigParsingException
- ConfigParsingException(String, Throwable) - Constructor for exception io.opentelemetry.instrumentation.api.config.ConfigParsingException
- connectionString(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- constant(AttributeKey<T>, T) - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Returns an
AttributesExtractorimplementation that always extracts the provided constant value. - CONSUMER_PROCESS - Static variable in class io.opentelemetry.instrumentation.api.instrumenter.SpanKey
- ConsumerSpan - Class in io.opentelemetry.instrumentation.api.tracer
-
This class encapsulates the context key for storing the current
SpanKind.CONSUMERspan in theContext. - CONTAINER - io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
- containsKey(Object) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- containsKey(K) - Method in class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- containsValue(Object) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- CONTEXT_ATTRIBUTE - Static variable in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- ContextCustomizer<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Customizer of the
Context. - ContextPropagationDebug - Class in io.opentelemetry.instrumentation.api.internal
- CONTROLLER - io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
- conventionSpanName(String, String, String) - Static method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
-
A helper method for constructing the span name formatting according to DB semantic conventions:
<db.operation> <db.name><table>. - conventionSpanName(String, String, String, String) - Static method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
-
A helper method for constructing the span name formatting according to DB semantic conventions:
<db.operation> <db.name><table>. - conversationId(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- COUCHBASE - io.opentelemetry.instrumentation.api.db.SqlDialect
- create(Meter) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.RequestMetrics
-
Returns a
RequestListenerfor recording metrics using the givenMeter. - create(CodeAttributesExtractor<REQUEST, ?>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeSpanNameExtractor
-
Returns a
SpanNameExtractorthat constructs the span name according to the following pattern:<class.simpleName>.<methodName>. - create(DbAttributesExtractor<REQUEST, ?>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbSpanNameExtractor
-
Returns a
SpanNameExtractorthat constructs the span name according to DB semantic conventions:<db.operation> <db.name>.<table>. - create(HttpClientAttributesExtractor<? super REQUEST, ? super RESPONSE>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanStatusExtractor
-
Returns the
SpanStatusExtractorfor HTTP requests, which will use the HTTP status code to determine theStatusCodeif available or fallback to the default status otherwise. - create(HttpCommonAttributesExtractor<REQUEST, ?>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanNameExtractor
-
Returns a
SpanNameExtractorwhich should be used for HTTP requests. - create(HttpServerAttributesExtractor<? super REQUEST, ? super RESPONSE>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanStatusExtractor
-
Returns the
SpanStatusExtractorfor HTTP requests, which will use the HTTP status code to determine theStatusCodeif available or fallback to the default status otherwise. - create(MessagingAttributesExtractor<REQUEST, ?>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingSpanNameExtractor
-
Returns a
SpanNameExtractorthat constructs the span name according to messaging semantic conventions:<destination name> <operation name>. - create(NetClientAttributesExtractor<REQUEST, RESPONSE>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.PeerServiceAttributesExtractor
-
Returns a new
PeerServiceAttributesExtractorthat will use the passednetAttributesExtractorinstance to determine the value of thepeer.serviceattribute. - create(RpcAttributesExtractor<REQUEST, ?>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcSpanNameExtractor
-
Returns a
SpanNameExtractorthat constructs the span name according to RPC semantic conventions:<rpc.service>/<rpc.method>. - create(Class<?>, String) - Static method in class io.opentelemetry.instrumentation.api.util.ClassAndMethod
- create(String, String, String) - Static method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- create(List<String>, List<String>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.CapturedHttpHeaders
-
Returns a configuration that captures chosen HTTP request and response headers.
- customizeContext(Context, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.Override in subclass to customize context that is returned by
startSpan.
D
- DatabaseClientTracer<CONNECTION,STATEMENT,SANITIZEDSTATEMENT> - Class in io.opentelemetry.instrumentation.api.tracer
-
Base class for implementing Tracers for database clients.
- DatabaseClientTracer(OpenTelemetry, NetPeerAttributes) - Constructor for class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- DatabaseClientTracer(NetPeerAttributes) - Constructor for class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- DbAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.db
-
Extractor of database attributes.
- DbAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- dbConnectionString(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- dbName(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- dbOperation(CONNECTION, STATEMENT, SANITIZEDSTATEMENT) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- DbSpanNameExtractor<REQUEST> - Class in io.opentelemetry.instrumentation.api.instrumenter.db
- dbStatement(CONNECTION, STATEMENT, SANITIZEDSTATEMENT) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- dbSystem(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- dbTableAttribute() - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- dbUser(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- debugContextLeakIfEnabled() - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
- declaringClass() - Method in class io.opentelemetry.instrumentation.api.util.ClassAndMethod
- DEFAULT - io.opentelemetry.instrumentation.api.db.SqlDialect
- DEFAULT_SPAN_NAME - Static variable in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- descendingKeySet() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Setview of the keys contained in this map. - descendingKeySetWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Setview of the keys contained in this map. - descendingMap() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map. - descendingMapWithLimit(int) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Mapview of the mappings contained in this map. - destination(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- destinationKind(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
E
- empty() - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.CapturedHttpHeaders
-
Returns a configuration that does not capture any HTTP headers as span attributes.
- end(Context) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Ends the execution of a span stored in the passed
context. - end(Context, long) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Ends the execution of a span stored in the passed
context. - end(Context, Attributes, long) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientMetrics
- end(Context, Attributes, long) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerMetrics
- end(Context, Attributes, long) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.RequestListener
-
Listener method that is called at the end of a request.
- end(Context, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Ends an instrumented operation.
- end(Context, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- end(Context, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.Convenience method.
- end(Context, RESPONSE, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- end(Context, RESPONSE, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- endExceptionally(Context, Throwable) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Records the
throwablein the span stored in the passedcontextand marks the end of the span's execution. - endExceptionally(Context, Throwable) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.Convenience method.
- endExceptionally(Context, Throwable, long) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Records the
throwablein the span stored in the passedcontextand marks the end of the span's execution. - endExceptionally(Context, Throwable, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.Convenience method.
- endExceptionally(Context, Throwable, RESPONSE, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.If
responseisnull, thehttp.status_codewill be set to500and theSpanstatus will be set toStatusCode.ERROR. - endExceptionally(Context, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- endExceptionally(Context, RESPONSE, Throwable, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- endMaybeExceptionally(Context, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- EndTimeExtractor<REQUEST,RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the end time of response processing.
- entrySet() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- entrySingleton() - Static method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.Weighers
-
A weigher where an entry has a weight of 1.
- EntryWeigher<K,V> - Interface in io.opentelemetry.instrumentation.api.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.cache.concurrentlinkedhashmap
-
A listener registered for notification when an entry is evicted.
- exists(Context) - Static method in class io.opentelemetry.instrumentation.api.tracer.ClientSpan
-
Returns true when a
SpanKind.CLIENTspan is present in the passedcontext. - exists(Context) - Static method in class io.opentelemetry.instrumentation.api.tracer.ConsumerSpan
-
Returns true when a
SpanKind.CONSUMERspan is present in the passedcontext. - exists(Context) - Static method in class io.opentelemetry.instrumentation.api.tracer.ServerSpan
-
Returns true when a
SpanKind.SERVERspan is present in the passedcontext. - ExperimentalConfig - Class in io.opentelemetry.instrumentation.api.config
- ExperimentalConfig(Config) - Constructor for class io.opentelemetry.instrumentation.api.config.ExperimentalConfig
- extract(C, TextMapGetter<C>) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Extracts a
Contextfromcarrierusing the propagator embedded in this tracer. - 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(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeSpanNameExtractor
- extract(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbSpanNameExtractor
- extract(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanNameExtractor
- extract(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingSpanNameExtractor
- extract(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcSpanNameExtractor
- 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.
- extract(REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.StartTimeExtractor
-
Returns the timestamp marking the start of the request processing.
- extract(REQUEST, RESPONSE, Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.EndTimeExtractor
-
Returns the timestamp marking the end of the response processing.
- extract(REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanStatusExtractor
- extract(REQUEST, RESPONSE, Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanStatusExtractor
-
Returns the
StatusCode. - extractCause(Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.ErrorCauseExtractor
F
- filePath(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- FILTER - io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
- find(Class<T>, Class<F>) - Static method in class io.opentelemetry.instrumentation.api.field.VirtualField
- find(Class<T>, Class<F>) - Method in interface io.opentelemetry.instrumentation.api.internal.RuntimeVirtualFieldSupplier.VirtualFieldSupplier
- flavor(CONNECTION, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- flavor(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
- flavor(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- flavor(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractor
-
Extracts the
http.flavorspan attribute. - fromContextOrNull(Context) - Method in class io.opentelemetry.instrumentation.api.instrumenter.SpanKey
- fromContextOrNull(Context) - Static method in class io.opentelemetry.instrumentation.api.tracer.ClientSpan
-
Returns span of type
SpanKind.CLIENTfrom the given context ornullif not found. - fromContextOrNull(Context) - Static method in class io.opentelemetry.instrumentation.api.tracer.ConsumerSpan
-
Returns span of type
SpanKind.CONSUMERfrom the given context ornullif not found. - fromContextOrNull(Context) - Static method in class io.opentelemetry.instrumentation.api.tracer.ServerSpan
-
Returns span of type
SpanKind.SERVERfrom the given context ornullif not found. - fromMethod(ClassAndMethod) - Static method in class io.opentelemetry.instrumentation.api.tracer.SpanNames
-
This method is used to generate a span name based on a method.
- fromMethod(Class<?>, Method) - Static method in class io.opentelemetry.instrumentation.api.tracer.SpanNames
-
This method is used to generate a span name based on a method.
- fromMethod(Class<?>, String) - Static method in class io.opentelemetry.instrumentation.api.tracer.SpanNames
-
This method is used to generate a span name based on a method.
- fromMethod(Method) - Static method in class io.opentelemetry.instrumentation.api.tracer.SpanNames
-
This method is used to generate a span name based on a method.
- fromUpstreamRequest(ContextPropagators, TextMapGetter<REQUEST>) - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanLinksExtractor
-
Returns a new
SpanLinksExtractorthat will extract aSpanContextfrom the request using configuredpropagators.
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.config.ExperimentalConfig
-
Returns the global agent configuration.
- get() - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientMetrics
-
Returns a
RequestMetricswhich can be used to enable recording ofHttpClientMetricson anInstrumenterBuilder. - get() - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerMetrics
-
Returns a
RequestMetricswhich can be used to enable recording ofHttpServerMetricson anInstrumenterBuilder. - get() - Static method in class io.opentelemetry.instrumentation.api.internal.RuntimeVirtualFieldSupplier
- get() - Method in interface io.opentelemetry.instrumentation.api.servlet.MappingResolver.Factory
- get(Context, T) - Method in interface io.opentelemetry.instrumentation.api.servlet.ServerSpanNameSupplier
- get(Context, T, U) - Method in interface io.opentelemetry.instrumentation.api.servlet.ServerSpanNameTwoArgSupplier
- get(Object) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- get(K) - Method in interface io.opentelemetry.instrumentation.api.cache.Cache
-
Returns the cached value associated with the provided
keyif present, ornullotherwise. - get(K) - Method in class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- get(T) - Method in class io.opentelemetry.instrumentation.api.field.VirtualField
-
Gets the value of this virtual field.
- getAddress(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesExtractor
- getAddress(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetClientAttributesExtractor
- getAllProperties() - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns all properties stored in this instance.
- getBoolean(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a boolean-valued configuration property or
nullif a property with namenamehas not been configured. - 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. - getCallDepthKey() - Static method in class io.opentelemetry.instrumentation.api.servlet.AppServerBridge
-
Class used as key in CallDepthThreadLocalMap for counting servlet invocation depth in Servlet3Advice and Servlet2Advice.
- getCleanerThread() - Method in class io.opentelemetry.instrumentation.api.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) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a double-valued configuration property or
nullif a property with namenamehas not been configured. - 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) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a duration-valued configuration property or
nullif a property with namenamehas not been configured. - 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. - getException(Context) - Static method in class io.opentelemetry.instrumentation.api.servlet.AppServerBridge
-
Get exception that happened during servlet invocation.
- getFullStatement() - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- getGetter() - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- getGetter() - Method in class io.opentelemetry.instrumentation.api.tracer.RpcServerTracer
- getInstrumentationName() - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
The name of the instrumentation library, not the name of the instrument*ed* library.
- getInt(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a integer-valued configuration property or
nullif a property with namenamehas not been configured. - getInt(String, int) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a integer-valued configuration property or
defaultValueif a property with namenamehas not been configured or when parsing has failed. - getList(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a list-valued configuration property or an empty list if a property with name
namehas not been configured. - 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) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a long-valued configuration property or
nullif 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.cache.weaklockfree.WeakConcurrentMap
- getMap(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a map-valued configuration property or an empty map if a property with name
namehas not been configured. - 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. - getOperation() - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- getQuietly(Object) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns the value to which the specified key is mapped, or
nullif this map contains no mapping for the key. - getRpcSystem() - Method in class io.opentelemetry.instrumentation.api.tracer.RpcClientTracer
- getServerContext(STORAGE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.Returns context stored to the given request-response-loop storage by
HttpServerTracer.attachServerContext(Context, Object). - getServerSpan(STORAGE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- getSetter() - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- 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. - getTable() - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- getVersion() - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
The version of the instrumentation library - defaults to the value of JAR manifest attribute
Implementation-Version. - 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
- host(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- HttpClientAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Extractor of HTTP client attributes.
- HttpClientAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractor
-
Creates the HTTP client attributes extractor with default configuration.
- HttpClientAttributesExtractor(CapturedHttpHeaders) - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractor
-
Creates the HTTP client attributes extractor.
- HttpClientMetrics - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
RequestListenerwhich keeps track of HTTP client metrics. - HttpClientTracer<REQUEST,CARRIER,RESPONSE> - Class in io.opentelemetry.instrumentation.api.tracer
- HttpClientTracer(OpenTelemetry, NetPeerAttributes) - Constructor for class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- HttpClientTracer(NetPeerAttributes) - Constructor for class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- HttpCommonAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Extractor of HTTP attributes that are common to client and server instrumentations.
- HttpServerAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Extractor of HTTP server attributes.
- HttpServerAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
-
Creates the HTTP server attributes extractor with default configuration.
- HttpServerAttributesExtractor(CapturedHttpHeaders) - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
-
Creates the HTTP server attributes extractor.
- HttpServerMetrics - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
RequestListenerwhich keeps track of HTTP server metrics. - HttpServerTracer<REQUEST,RESPONSE,CONNECTION,STORAGE> - Class in io.opentelemetry.instrumentation.api.tracer
-
Deprecated.Use
Instrumenterand the HTTP semantic convention utilities package instead. - HttpServerTracer() - Constructor for class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- HttpServerTracer(OpenTelemetry) - Constructor for class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- HttpSpanNameExtractor<REQUEST> - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Extractor of the HTTP span name.
- HttpSpanStatusExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Extractor of the HTTP span status.
- HttpStatusConverter - Interface in io.opentelemetry.instrumentation.api.tracer
I
- incrementCounter(String) - Method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- InetSocketAddressNetClientAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.net
-
Extractor of Network attributes from a
InetSocketAddress. - InetSocketAddressNetClientAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetClientAttributesExtractor
- InetSocketAddressNetServerAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.net
-
Extractor of Network attributes from a
InetSocketAddress. - InetSocketAddressNetServerAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesExtractor
- init(Context) - Static method in class io.opentelemetry.instrumentation.api.servlet.AppServerBridge
-
Attach AppServerBridge to context.
- init(Context, boolean) - Static method in class io.opentelemetry.instrumentation.api.servlet.AppServerBridge
-
Attach AppServerBridge to context.
- init(Context, ServerSpanNaming.Source) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming
- init(Context, Function<REQUEST, String>, REQUEST) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServletContextPath
- initialCapacity(int) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies the initial capacity of the hash table (default 16).
- inject(Context, CARRIER) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- inject(Context, C, TextMapSetter<C>) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Injects
contextdata intocarrierusing the propagator embedded in this tracer. - instance() - Static method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- INSTANCE - io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.Eval
- INSTANCE - io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.KeepAllArgs
- INSTANCE - Static variable in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- InstrumentationVersion - Class in io.opentelemetry.instrumentation.api
- Instrumenter<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter
-
An instrumenter of the start and end of a request/response lifecycle.
- InstrumenterBuilder<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter
-
A builder of
Instrumenter. - internalInitializeConfig(Config) - Static method in class io.opentelemetry.instrumentation.api.config.Config
-
Sets the agent configuration singleton.
- io.opentelemetry.instrumentation.api - package io.opentelemetry.instrumentation.api
- io.opentelemetry.instrumentation.api.annotations - package io.opentelemetry.instrumentation.api.annotations
- io.opentelemetry.instrumentation.api.cache - package io.opentelemetry.instrumentation.api.cache
- io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap - package io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap
-
This package contains an implementation of a bounded
ConcurrentMapdata structure. - io.opentelemetry.instrumentation.api.cache.weaklockfree - package io.opentelemetry.instrumentation.api.cache.weaklockfree
- io.opentelemetry.instrumentation.api.config - package io.opentelemetry.instrumentation.api.config
- io.opentelemetry.instrumentation.api.db - package io.opentelemetry.instrumentation.api.db
- io.opentelemetry.instrumentation.api.field - package io.opentelemetry.instrumentation.api.field
- io.opentelemetry.instrumentation.api.instrumenter - package io.opentelemetry.instrumentation.api.instrumenter
- io.opentelemetry.instrumentation.api.instrumenter.code - package io.opentelemetry.instrumentation.api.instrumenter.code
- io.opentelemetry.instrumentation.api.instrumenter.db - package io.opentelemetry.instrumentation.api.instrumenter.db
- io.opentelemetry.instrumentation.api.instrumenter.http - package io.opentelemetry.instrumentation.api.instrumenter.http
- io.opentelemetry.instrumentation.api.instrumenter.messaging - package io.opentelemetry.instrumentation.api.instrumenter.messaging
- io.opentelemetry.instrumentation.api.instrumenter.net - package io.opentelemetry.instrumentation.api.instrumenter.net
- io.opentelemetry.instrumentation.api.instrumenter.rpc - package io.opentelemetry.instrumentation.api.instrumenter.rpc
- io.opentelemetry.instrumentation.api.internal - package io.opentelemetry.instrumentation.api.internal
- io.opentelemetry.instrumentation.api.log - package io.opentelemetry.instrumentation.api.log
- io.opentelemetry.instrumentation.api.servlet - package io.opentelemetry.instrumentation.api.servlet
- io.opentelemetry.instrumentation.api.tracer - package io.opentelemetry.instrumentation.api.tracer
- io.opentelemetry.instrumentation.api.tracer.net - package io.opentelemetry.instrumentation.api.tracer.net
- io.opentelemetry.instrumentation.api.util - package io.opentelemetry.instrumentation.api.util
- isAgentDebugEnabled() - Method in class io.opentelemetry.instrumentation.api.config.Config
- isEmpty() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- isInstrumentationEnabled(Iterable<String>, boolean) - Method in class io.opentelemetry.instrumentation.api.config.Config
- isInstrumentationPropertyEnabled(Iterable<String>, String, boolean) - Method in class io.opentelemetry.instrumentation.api.config.Config
- isRelativeUrl(String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- isThreadPropagationDebuggerEnabled() - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
- iterable() - Static method in class io.opentelemetry.instrumentation.api.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.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.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
L
- lineNumber(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- list() - Static method in class io.opentelemetry.instrumentation.api.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.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies an optional listener that is registered for notification when an entry is evicted.
- LoggingContextConstants - Class in io.opentelemetry.instrumentation.api.log
-
This class contains several constants used in logging libraries' Mapped Diagnostic Context instrumentations.
M
- map() - Static method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Mapand its weight is the number of entries. - MappingResolver - Class in io.opentelemetry.instrumentation.api.servlet
-
Helper class for finding a mapping that matches current request from a collection of mappings.
- MappingResolver.Factory - Interface in io.opentelemetry.instrumentation.api.servlet
-
Factory interface for creating
MappingResolverinstances. - mapTable(Function<String, String>) - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- maximumWeightedCapacity(long) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder
-
Specifies the maximum weighted capacity to coerce the map to and may exceed it temporarily.
- messageId(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- MessageOperation - Enum in io.opentelemetry.instrumentation.api.instrumenter.messaging
-
Represents type of operations that may be used in a messaging system.
- messagePayloadCompressedSize(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- messagePayloadSize(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- MessagingAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.messaging
-
Extractor of messaging attributes.
- MessagingAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- MessagingSpanNameExtractor<REQUEST> - Class in io.opentelemetry.instrumentation.api.instrumenter.messaging
- method(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
- method(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
- method(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- method(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- methodName() - Method in class io.opentelemetry.instrumentation.api.util.ClassAndMethod
- methodName(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- MultiKeyValue(int) - Constructor for class io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.MultiKeyValue
N
- name(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- NESTED_CONTROLLER - io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
- NetClientAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.net
-
Extractor of Network attributes.
- NetClientAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
- netPeerAttributes - Variable in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- netPeerAttributes - Variable in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- NetPeerAttributes - Class in io.opentelemetry.instrumentation.api.tracer.net
- NetPeerAttributes() - Constructor for class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- NetPeerAttributes(Map<String, String>) - Constructor for class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- NetServerAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.net
-
Extractor of Network attributes.
- NetServerAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- 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
- onConnection(SpanBuilder, CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
-
This should be called when the connection is being used, not when it's created.
- onConnection(SpanBuilder, CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- onConnectionAndRequest(SpanBuilder, CONNECTION, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Extracts attributes from the
AttributesExtractorand eitherAttributesExtractororerrorinto theAttributesBuilderat the end of a request. - onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.PeerServiceAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
- onEviction(K, V) - Method in interface io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.EvictionListener
-
A call-back notification that the entry was evicted.
- onException(Context, Throwable) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Records the
throwablein the span stored in the passedcontextand sets the span's status toStatusCode.ERROR. - onRequest(SpanBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- onRequest(SpanBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- onRequest(Span, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
-
This method should only be used when the request is not yet available when
HttpClientTracer.startSpan(io.opentelemetry.context.Context, REQUEST, CARRIER)is called. - onResponse(Span, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- onStart(AttributesBuilder, REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Extracts attributes from the
AttributesExtractorinto theAttributesBuilderat the beginning of a request. - onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.PeerServiceAttributesExtractor
- onStart(AttributesBuilder, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
- onStatement(SpanBuilder, CONNECTION, STATEMENT, SANITIZEDSTATEMENT) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- operation() - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- operation(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- operation(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- operationName() - Method in enum io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
-
Returns the operation name as defined in the specification.
P
- peerAddress(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- peerHostIp(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- peerIp(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesExtractor
- peerIp(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- peerIp(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetClientAttributesExtractor
- peerIp(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
- peerName(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesExtractor
- peerName(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- peerName(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetClientAttributesExtractor
- peerName(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
- peerPort(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- peerPort(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetServerAttributesExtractor
- peerPort(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- peerPort(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetClientAttributesExtractor
- peerPort(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
- PeerServiceAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the
peer.servicespan attribute, described in the specification. - prepend(Context, String) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServletContextPath
-
Returns a concatenation of a servlet context path stored in the given
contextand a givenspanName. - PROCESS - io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
- protocol(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- protocolVersion(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- put(K, V) - Method in interface io.opentelemetry.instrumentation.api.cache.Cache
-
Puts the
valueinto the cache for thekey. - put(K, V) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- put(K, V) - Method in class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- putIfAbsent(K, V) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
R
- rawStatement(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- readEnvironmentVariables() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Sets the configuration values from environment variables.
- readProperties(Map<String, String>) - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- readProperties(Properties) - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- readSystemProperties() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
-
Sets the configuration values from system properties.
- RECEIVE - io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
- recordException(Context, Throwable) - Static method in class io.opentelemetry.instrumentation.api.servlet.AppServerBridge
-
Record exception that happened during servlet invocation so that app server instrumentation can add it to server span.
- recordSuppressedSpan(SpanKind, String) - Method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- RedisCommandSanitizer - Class in io.opentelemetry.instrumentation.api.db
-
This class is responsible for masking potentially sensitive data in Redis commands.
- RedisCommandSanitizer.CommandSanitizer - Interface in io.opentelemetry.instrumentation.api.db
- RedisCommandSanitizer.CommandSanitizer.CommandAndNumArgs - Class in io.opentelemetry.instrumentation.api.db
- RedisCommandSanitizer.CommandSanitizer.Eval - Enum in io.opentelemetry.instrumentation.api.db
- RedisCommandSanitizer.CommandSanitizer.KeepAllArgs - Enum in io.opentelemetry.instrumentation.api.db
- RedisCommandSanitizer.CommandSanitizer.MultiKeyValue - Class in io.opentelemetry.instrumentation.api.db
- remove(Object) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- remove(Object, Object) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- remove(K) - Method in interface io.opentelemetry.instrumentation.api.cache.Cache
-
Removes a value for
keyif present. - remove(K) - Method in class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- replace(K, V) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- replace(K, V, V) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- requestContentLength(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts the
http.request_content_lengthspan attribute. - requestContentLengthUncompressed(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts the
http.request_content_length_uncompressedspan attribute. - requestHeader(REQUEST, String) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts all values of header named
namefrom the request, or an empty list if there were none. - requestHeader(REQUEST, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- requestHeader(REQUEST, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- requestHeaders() - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.CapturedHttpHeaders
-
Returns the list of HTTP request header names that are to be captured as span attributes.
- RequestListener - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
A listener of the start and end of a request.
- RequestMetrics - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
A factory for a
RequestListenerfor recording metrics using aMeter. - resetLookupKey(WeakConcurrentMap.LookupKey<K>) - Method in class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap
- resolve(String, String) - Method in class io.opentelemetry.instrumentation.api.servlet.MappingResolver
-
Find mapping for requested path.
- responseContentLength(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts the
http.response_content_lengthspan attribute. - responseContentLengthUncompressed(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts the
http.response_content_length_uncompressedspan attribute. - responseHeader(REQUEST, RESPONSE, String) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts all values of header named
namefrom the response, or an empty list if there were none. - responseHeader(RESPONSE, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- responseHeaders() - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.CapturedHttpHeaders
-
Returns the list of HTTP response header names that are to be captured as span attributes.
- responseStatus(RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- route(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
- RpcAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.rpc
-
Extractor of RPC attributes.
- RpcAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
- RpcClientTracer - Class in io.opentelemetry.instrumentation.api.tracer
- RpcClientTracer() - Constructor for class io.opentelemetry.instrumentation.api.tracer.RpcClientTracer
- RpcClientTracer(OpenTelemetry) - Constructor for class io.opentelemetry.instrumentation.api.tracer.RpcClientTracer
- RpcServerTracer<REQUEST> - Class in io.opentelemetry.instrumentation.api.tracer
- RpcServerTracer() - Constructor for class io.opentelemetry.instrumentation.api.tracer.RpcServerTracer
- RpcServerTracer(OpenTelemetry) - Constructor for class io.opentelemetry.instrumentation.api.tracer.RpcServerTracer
- RpcSpanNameExtractor<REQUEST> - Class in io.opentelemetry.instrumentation.api.instrumenter.rpc
-
A
SpanNameExtractorfor RPC requests. - RuntimeVirtualFieldSupplier - Class in io.opentelemetry.instrumentation.api.internal
- RuntimeVirtualFieldSupplier.VirtualFieldSupplier - Interface in io.opentelemetry.instrumentation.api.internal
S
- sanitize(String) - Static method in class io.opentelemetry.instrumentation.api.db.SqlStatementSanitizer
- sanitize(String, SqlDialect) - Static method in class io.opentelemetry.instrumentation.api.db.SqlStatementSanitizer
- sanitize(String, List<?>) - Method in class io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.CommandAndNumArgs
- sanitize(String, List<?>) - Method in enum io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.Eval
- sanitize(String, List<?>) - Method in enum io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.KeepAllArgs
- sanitize(String, List<?>) - Method in class io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.MultiKeyValue
- sanitize(String, List<?>) - Method in interface io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer
- sanitize(String, List<?>) - Static method in class io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer
- sanitizeStatement(STATEMENT) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- scheme(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
- scheme(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- SEND - io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
- server(Config) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.CapturedHttpHeaders
-
Returns a configuration that captures HTTP server request and response headers as configured in the received
config. - SERVER - Static variable in class io.opentelemetry.instrumentation.api.instrumenter.SpanKey
- SERVER - Static variable in interface io.opentelemetry.instrumentation.api.tracer.HttpStatusConverter
- serverName(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
-
Extracts the
http.server_namespan attribute. - ServerSpan - Class in io.opentelemetry.instrumentation.api.tracer
-
This class encapsulates the context key for storing the current
SpanKind.SERVERspan in theContext. - ServerSpanNameSupplier<T> - Interface in io.opentelemetry.instrumentation.api.servlet
- ServerSpanNameTwoArgSupplier<T,U> - Interface in io.opentelemetry.instrumentation.api.servlet
- ServerSpanNaming - Class in io.opentelemetry.instrumentation.api.servlet
-
Helper container for tracking whether instrumentation should update server span name or not.
- ServerSpanNaming.Source - Enum in io.opentelemetry.instrumentation.api.servlet
- service(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
- SERVLET - io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
- ServletContextPath - Class in io.opentelemetry.instrumentation.api.servlet
-
The context key here is used to propagate the servlet context path throughout the request, so that routing framework instrumentation that updates the span name with a more specific route can prepend the servlet context path in front of that route.
- set() - Static method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.Weighers
-
A weigher where the value is a
Setand its weight is the number of elements. - set(AttributesBuilder, AttributeKey<T>, T) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Sets the
valuewith the givenkeyto theAttributesBuilderifvalueis notnull. - set(RuntimeVirtualFieldSupplier.VirtualFieldSupplier) - Static method in class io.opentelemetry.instrumentation.api.internal.RuntimeVirtualFieldSupplier
- set(T, F) - Method in class io.opentelemetry.instrumentation.api.field.VirtualField
-
Sets the new value of this virtual field.
- setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.instrumentation.api.tracer.AttributeSetter
- setCapacity(long) - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Sets the maximum weighted capacity of the map and eagerly evicts entries until it shrinks to the appropriate size.
- setDisabled(boolean) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
- setErrorCauseExtractor(ErrorCauseExtractor) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the
ErrorCauseExtractorto extract the root cause from an exception handling the request. - setNetPeer(SpanBuilder, InetAddress, int) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(SpanBuilder, InetSocketAddress) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(Span, String, String) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(Span, String, String, int) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(Span, InetSocketAddress) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(AttributeSetter, String, String, int) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(AttributeSetter, InetSocketAddress) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetSemanticConvention(SpanBuilder, CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- setSpanStatusExtractor(SpanStatusExtractor<? super REQUEST, ? super RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the
SpanStatusExtractorto use to determine theStatusCodefor a response. - setTimeExtractors(StartTimeExtractor<REQUEST>, EndTimeExtractor<REQUEST, RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the
StartTimeExtractorand theEndTimeExtractorto extract the timestamp marking the start and end of processing. - shouldStart(Context, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Returns whether instrumentation should be applied for the
Instrumenter. - shouldStartSpan(Context) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- shouldStartSpan(Context) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- shouldStartSpan(Context, SpanKind) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns true if a new span of the
proposedKindshould be suppressed. - simpleName(Class<?>) - Static method in class io.opentelemetry.instrumentation.api.tracer.ClassNames
-
This method is used to generate a simple name based on a given class reference, e.g. for use in span names and span attributes.
- singleton() - Static method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.Weighers
-
A weigher where a value has a weight of 1.
- size() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- SPAN_ID - Static variable in class io.opentelemetry.instrumentation.api.log.LoggingContextConstants
-
Key under which the current span id will be injected into the context data.
- spanBuilder(Context, String, SpanKind) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
SpanBuilderto create and start a newSpan. - SpanKey - Class in io.opentelemetry.instrumentation.api.instrumenter
-
Makes span keys for specific instrumentation accessible to enrich and suppress spans.
- SpanKindExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor or
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.
- spanName(CONNECTION, STATEMENT, SANITIZEDSTATEMENT) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- SpanNameExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the span name for a request.
- spanNameForRequest(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- SpanNames - Class in io.opentelemetry.instrumentation.api.tracer
- SpanStatusExtractor<REQUEST,RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of
StatusCode, which will be called after a request and response is completed to determine its final status. - SQL_STATEMENT_SANITIZER_CACHE_MISS - Static variable in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics.CounterNames
- SqlAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.db
-
Extractor of database attributes.
- SqlAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- SqlDialect - Enum in io.opentelemetry.instrumentation.api.db
-
Enumeration of sql dialects that are handled differently by
SqlStatementSanitizer. - SqlStatementInfo - Class in io.opentelemetry.instrumentation.api.db
- SqlStatementInfo() - Constructor for class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- SqlStatementSanitizer - Class in io.opentelemetry.instrumentation.api.db
-
This class is responsible for masking potentially sensitive parameters in SQL (and SQL-like) statements and queries.
- start(Context, Attributes, long) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientMetrics
- start(Context, Attributes, long) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerMetrics
- start(Context, Attributes, long) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.RequestListener
-
Listener method that is called at the start of a request.
- start(Context, REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Starts a new operation to be instrumented.
- start(Context, REQUEST, Attributes) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.ContextCustomizer
-
Context customizer method that is called during
Instrumenter.start(Context, Object), allowing customization of theContextthat is returned from that method. - startSpan(SpanKind, Context, REQUEST, CARRIER, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- startSpan(Context, CONNECTION, STATEMENT) - Method in class io.opentelemetry.instrumentation.api.tracer.DatabaseClientTracer
- startSpan(Context, String, SpanKind) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
Contextinheriting fromparentContextthat contains a new span with namespanNameand kindkind. - startSpan(Context, REQUEST, CARRIER) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- startSpan(Context, REQUEST, CARRIER, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- startSpan(String) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
Contextinheriting fromContext.current()that contains a new span with namespanNameand kindSpanKind.INTERNAL. - startSpan(String, SpanKind) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
Contextinheriting fromContext.current()that contains a new span with namespanNameand kindkind. - startSpan(REQUEST, CONNECTION, STORAGE, Method) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- startSpan(REQUEST, CONNECTION, STORAGE, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- startSpan(REQUEST, CONNECTION, STORAGE, String, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- StartTimeExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the start time of request processing.
- statement(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- statement(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- status(RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- statusCode(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpCommonAttributesExtractor
-
Extracts the
http.status_codespan attribute. - statusFromHttpStatus(int) - Method in interface io.opentelemetry.instrumentation.api.tracer.HttpStatusConverter
- storeInContext(Context, Span) - Method in class io.opentelemetry.instrumentation.api.instrumenter.SpanKey
- SupportabilityMetrics - Class in io.opentelemetry.instrumentation.api.internal
- SupportabilityMetrics.CounterNames - Class in io.opentelemetry.instrumentation.api.internal
- suppressControllerSpans() - Method in class io.opentelemetry.instrumentation.api.config.ExperimentalConfig
- suppressMessagingReceiveSpans() - Method in class io.opentelemetry.instrumentation.api.config.ExperimentalConfig
- suppressViewSpans() - Method in class io.opentelemetry.instrumentation.api.config.ExperimentalConfig
- system(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- system(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- system(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
T
- table(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- target(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerAttributesExtractor
- target(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- TEMP_DESTINATION_NAME - Static variable in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- temporaryDestination(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- TRACE_FLAGS - Static variable in class io.opentelemetry.instrumentation.api.log.LoggingContextConstants
-
Key under which the current trace flags will be injected into the context data.
- TRACE_ID - Static variable in class io.opentelemetry.instrumentation.api.log.LoggingContextConstants
-
Key under which the current trace id will be injected into the context data.
- transport(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetServerAttributesExtractor
- transport(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor
U
- UnstableApi - Annotation Type in io.opentelemetry.instrumentation.api.annotations
-
A marker for public classes and methods that are not part of the stable API exposed by an artifact.
- unwrap(Context) - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
- unwrapThrowable(Throwable) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Extracts the actual cause by unwrapping passed
throwablefrom known wrapper exceptions, e.gExecutionException. - updateServerSpanName(Context, ServerSpanNaming.Source, ServerSpanNameSupplier<T>, T) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming
-
If there is a server span in the context, and
ServerSpanNaming.init(Context, Source)has been called to populate aServerSpanNameinto the context, then this method will update the server span name using the providedServerSpanNameSupplierif and only if the lastServerSpanNaming.Sourceto update the span name using this method has strictly lower priority than the providedServerSpanNaming.Source, and the value returned from theServerSpanNameSupplieris non-null. - updateServerSpanName(Context, ServerSpanNaming.Source, ServerSpanNameTwoArgSupplier<T, U>, T, U) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming
-
If there is a server span in the context, and
ServerSpanNaming.init(Context, Source)has been called to populate aServerSpanNameinto the context, then this method will update the server span name using the providedServerSpanNameTwoArgSupplierif and only if the lastServerSpanNaming.Sourceto update the span name using this method has strictly lower priority than the providedServerSpanNaming.Source, and the value returned from theServerSpanNameTwoArgSupplieris non-null. - url(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpClientAttributesExtractor
- url(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- url(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- url(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
- user(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- USER_AGENT - Static variable in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- USER_AGENT - Static variable in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
Deprecated.
V
- value() - Method in annotation type io.opentelemetry.instrumentation.api.internal.GuardedBy
-
The name of the object guarding the target.
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.Eval
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.KeepAllArgs
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.db.SqlDialect
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
-
Returns the enum constant of this type with the specified name.
- values() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
- values() - Static method in enum io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.Eval
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.KeepAllArgs
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.instrumentation.api.db.SqlDialect
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming.Source
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in class io.opentelemetry.instrumentation.api.InstrumentationVersion
- VirtualField<T,F> - Class in io.opentelemetry.instrumentation.api.field
-
Represents a "virtual" field of type
Fthat is added to typeTin the runtime. - VirtualField() - Constructor for class io.opentelemetry.instrumentation.api.field.VirtualField
W
- weak() - Static method in interface io.opentelemetry.instrumentation.api.cache.Cache
-
Returns new unbounded cache
- WeakConcurrentMap<K,V> - Class in io.opentelemetry.instrumentation.api.cache.weaklockfree
-
A thread-safe map with weak keys.
- WeakConcurrentMap(boolean) - Constructor for class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap
- WeakConcurrentMap(boolean, boolean) - Constructor for class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap
- WeakConcurrentMap(boolean, boolean, ConcurrentMap<AbstractWeakConcurrentMap.WeakKey<K>, V>) - Constructor for class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap
- WeakConcurrentMap.WithInlinedExpunction<K,V> - Class in io.opentelemetry.instrumentation.api.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.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.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.cache.concurrentlinkedhashmap
-
A class that can determine the weight of a value.
- Weighers - Class in io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap
-
A common set of
WeigherandEntryWeigherimplementations. - weightedSize() - Method in class io.opentelemetry.instrumentation.api.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
-
Returns the weighted size of this map.
- weightOf(K, V) - Method in interface io.opentelemetry.instrumentation.api.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.cache.concurrentlinkedhashmap.Weigher
-
Measures an object's weight to determine how many units of capacity that the value consumes.
- with(Context, Span) - Static method in class io.opentelemetry.instrumentation.api.tracer.ClientSpan
- with(Context, Span) - Static method in class io.opentelemetry.instrumentation.api.tracer.ConsumerSpan
- with(Context, Span) - Static method in class io.opentelemetry.instrumentation.api.tracer.ServerSpan
- withClientSpan(Context, Span) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
Contextcontaining the passedspanmarked as the currentSpanKind.CLIENTspan. - withConsumerSpan(Context, Span) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
Contextcontaining the passedspanmarked as the currentSpanKind.CONSUMERspan. - WithInlinedExpunction() - Constructor for class io.opentelemetry.instrumentation.api.cache.weaklockfree.WeakConcurrentMap.WithInlinedExpunction
- withServerSpan(Context, Span) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Returns a
Contextcontaining the passedspanmarked as the currentSpanKind.SERVERspan.
All Classes All Packages