A B C D E F G H I J 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. - addRequestMetrics(RequestMetrics) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
RequestMetricswhose metrics will be recorded for request start and stop. - addSpanLinkExtractor(SpanLinkExtractor<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Adds a
SpanLinkExtractorto extract span link from requests. - 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
- 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
- asJavaProperties() - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Deprecated.Use
Config.getAllProperties()instead. - AsyncSpanEndStrategies - Class in io.opentelemetry.instrumentation.api.tracer.async
-
Registry of
AsyncSpanEndStrategyimplementations for tracing the asynchronous operations represented by the return type of a traced method. - AsyncSpanEndStrategy - Interface in io.opentelemetry.instrumentation.api.tracer.async
-
Represents an implementation of a strategy for composing over the return value of an asynchronous traced method which can compose or register for notification of completion at which point the span representing the invocation of the method will be ended.
- attachServerContext(Context, STORAGE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
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> - Class in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of
Attributesfor a given request and response. - AttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
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
- build() - Method in class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- build(Collection<String>) - Static method in class io.opentelemetry.instrumentation.api.servlet.MappingResolver
C
- ClassNames - Class in io.opentelemetry.instrumentation.api.tracer
- clientIp(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
Extracts the
http.client_ipspan attribute. - 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. - CommandAndNumArgs(int) - Constructor for class io.opentelemetry.instrumentation.api.db.RedisCommandSanitizer.CommandSanitizer.CommandAndNumArgs
- Config - Class in io.opentelemetry.instrumentation.api.config
- Config() - Constructor for class io.opentelemetry.instrumentation.api.config.Config
- ConfigBuilder - Class in io.opentelemetry.instrumentation.api.config
- ConfigBuilder() - Constructor for class io.opentelemetry.instrumentation.api.config.ConfigBuilder
- connectionString(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- 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
- CONTEXT_ATTRIBUTE - Static variable in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- CONTEXT_KEY - Static variable in class io.opentelemetry.instrumentation.api.servlet.ServletContextPath
- 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
- create(String, String, String) - Static method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- 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(HttpAttributesExtractor<REQUEST, ?>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanNameExtractor
-
Returns a
SpanNameExtractorwhich should be used for HTTP requests. - create(HttpAttributesExtractor<REQUEST, 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(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>. - customizeContext(Context, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
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
- DEFAULT_SPAN_NAME - Static variable in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- 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
- 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) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerMetrics
- end(Context, Attributes) - 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
-
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
- end(BaseTracer, Context, Object) - Method in interface io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategy
-
Denotes the end of the invocation of the traced method with a successful result which will end the span stored in the passed
context. - 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
-
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
-
Convenience method.
- endExceptionally(Context, Throwable, RESPONSE, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
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<RESPONSE> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the end time of response processing.
- ErrorCauseExtractor - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of the root cause of a
Throwable. - 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. - extract(C, TextMapGetter<C>) - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
Extracts a
Contextfromcarrierusing the propagator embedded in this tracer. - extract(Context, REQUEST) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.SpanLinkExtractor
-
Extract a
SpanContextthat should be linked to the newly created span. - 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.SpanStatusExtractor
-
Returns the
StatusCode. - extract(REQUEST, RESPONSE, Throwable) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpSpanStatusExtractor
- extract(RESPONSE) - Method in interface io.opentelemetry.instrumentation.api.instrumenter.EndTimeExtractor
-
Returns the timestamp marking the end of the response processing.
- 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
- flavor(CONNECTION, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- flavor(REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- flavor(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
Extracts the
http.flavorspan attribute. - 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(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.SpanLinkExtractor
-
Returns a new
SpanLinkExtractorthat will extract aSpanContextfrom the request using configuredpropagators.
G
- get() - Static method in class io.opentelemetry.instrumentation.api.config.Config
- get() - Static method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerMetrics
-
Returns a
RequestMetricswhich can be used to enable recording ofHttpServerMetricson anInstrumenterBuilder. - getAddress(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetAttributesExtractor
-
This method will be called twice: both when the request starts (
responseis always null then) and when the response ends. - getAllProperties() - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns all properties stored in this instance.
- getBooleanProperty(String, boolean) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a boolean property value or
defaultValueif a property with namenamedid not exist. - 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.
- 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. - getFullStatement() - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- getGetter() - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- getGetter() - Method in class io.opentelemetry.instrumentation.api.tracer.RpcServerTracer
- getInstance() - Static method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- getInstrumentationName() - Method in class io.opentelemetry.instrumentation.api.tracer.BaseTracer
-
The name of the instrumentation library, not the name of the instrument*ed* library.
- getListProperty(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a list-of-strings property value or empty list if a property with name
namedid not exist. - getListProperty(String, List<String>) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a list-of-strings property value or
defaultValueif a property with namenamedid not exist. - getLongProperty(String, long) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a long property value or
defaultValueif a property with namenamedid not exist. - getMapProperty(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a map-of-strings property value or empty map if a property with name
namedid not exist. - getOperation() - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- getProperty(String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Returns a string property value or null if a property with name
namedid not exist. - getProperty(String, String) - Method in class io.opentelemetry.instrumentation.api.config.Config
-
Retrieves a property value from the agent configuration consisting of system properties, environment variables and contents of the agent configuration file (see
ConfigInitializerandConfigBuilder). - getRpcSystem() - Method in class io.opentelemetry.instrumentation.api.tracer.RpcClientTracer
- getServerContext(STORAGE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
-
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
- getSetter() - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- 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.
H
- host(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
- HttpAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.http
-
Extractor of HTTP attributes.
- HttpAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
- 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
- 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
-
Base class for implementing Tracers for HTTP servers.
- HttpServerTracer() - Constructor for class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- HttpServerTracer(OpenTelemetry) - Constructor for class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- 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 - Class in io.opentelemetry.instrumentation.api.tracer
I
- incrementCounter(String) - Method in class io.opentelemetry.instrumentation.api.internal.SupportabilityMetrics
- InetSocketAddressNetAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.net
-
Extractor of Network attributes from a
InetSocketAddress. - InetSocketAddressNetAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetAttributesExtractor
- 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
- 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.config - package io.opentelemetry.instrumentation.api.config
- io.opentelemetry.instrumentation.api.db - package io.opentelemetry.instrumentation.api.db
- 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.async - package io.opentelemetry.instrumentation.api.tracer.async
-
Provides implementations of strategies for tracing methods that return asynchronous and reactive values so that the span can be ended when the asynchronous operation completes.
- io.opentelemetry.instrumentation.api.tracer.net - package io.opentelemetry.instrumentation.api.tracer.net
- isAgentDebugEnabled() - Method in class io.opentelemetry.instrumentation.api.config.Config
- 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
- isThreadPropagationDebuggerEnabled() - Static method in class io.opentelemetry.instrumentation.api.internal.ContextPropagationDebug
J
- jdk() - Static method in interface io.opentelemetry.instrumentation.api.instrumenter.ErrorCauseExtractor
-
Returns a
ErrorCauseExtractorwhich unwraps common standard library wrapping exceptions.
L
- lineNumber(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- LoggingContextConstants - Class in io.opentelemetry.instrumentation.api.log
-
This class contains several constants used in logging libraries' Mapped Diagnostic Context instrumentations.
M
- MappingResolver - Class in io.opentelemetry.instrumentation.api.servlet
-
Helper class for finding a mapping that matches current request from a collection of mappings.
- mapTable(Function<String, String>) - Method in class io.opentelemetry.instrumentation.api.db.SqlStatementInfo
- 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.HttpAttributesExtractor
- 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
- 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
- NetAttributesExtractor<REQUEST,RESPONSE> - Class in io.opentelemetry.instrumentation.api.instrumenter.net
-
Extractor of Network attributes.
- NetAttributesExtractor() - Constructor for class io.opentelemetry.instrumentation.api.instrumenter.net.NetAttributesExtractor
- 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
- newBuilder() - Static method in class io.opentelemetry.instrumentation.api.config.Config
-
Start building a new
Configinstance. - newBuilder(OpenTelemetry, String, SpanNameExtractor<? super REQUEST>) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.Instrumenter
-
Returns a new
InstrumenterBuilder. - 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. - newUpstreamPropagatingInstrumenter(SpanKindExtractor<REQUEST>, TextMapGetter<REQUEST>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Returns a new
Instrumenterwhich will create spans with kind determined by the passedspanKindExtractorand 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
- onConnectionAndRequest(SpanBuilder, CONNECTION, REQUEST) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Extracts attributes from the
AttributesExtractorandAttributesExtractorinto theAttributesBuilderat the end of a request. - onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.code.CodeAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetAttributesExtractor
- onEnd(AttributesBuilder, REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.rpc.RpcAttributesExtractor
- 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
- 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 class 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.HttpAttributesExtractor
- 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.NetAttributesExtractor
- 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(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.DbAttributesExtractor
- operation(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.db.SqlAttributesExtractor
- operation(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.messaging.MessagingAttributesExtractor
- 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
- peerIp(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetAttributesExtractor
- peerIp(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetAttributesExtractor
-
This method will be called twice: both when the request starts (
responseis always null then) and when the response ends. - peerName(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetAttributesExtractor
- peerName(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetAttributesExtractor
-
This method will be called twice: both when the request starts (
responseis always null then) and when the response ends. - peerPort(CONNECTION) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- peerPort(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.InetSocketAddressNetAttributesExtractor
- peerPort(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.net.NetAttributesExtractor
-
This method will be called twice: both when the request starts (
responseis always null then) and when the response ends. - prepend(Context, String) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServletContextPath
- 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
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
- 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
- registerStrategy(AsyncSpanEndStrategy) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- requestContentLength(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
Extracts the
http.request_content_lengthspan attribute. - requestContentLengthUncompressed(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
Extracts the
http.request_content_length_uncompressedspan attribute. - requestHeader(REQUEST, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- requestHeader(REQUEST, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- 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. - resolve(String, String) - Method in class io.opentelemetry.instrumentation.api.servlet.MappingResolver
-
Find mapping for requested path.
- resolveStrategy(Class<?>) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- responseContentLength(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
Extracts the
http.response_content_lengthspan attribute. - responseContentLengthUncompressed(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
Extracts the
http.response_content_length_uncompressedspan attribute. - responseHeader(RESPONSE, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpClientTracer
- responseStatus(RESPONSE) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- route(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
- 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.
S
- sanitize(String) - 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.HttpAttributesExtractor
- SEND - io.opentelemetry.instrumentation.api.instrumenter.messaging.MessageOperation
- serverName(REQUEST, RESPONSE) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
-
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. - 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(AttributesBuilder, AttributeKey<T>, T) - Static method in class io.opentelemetry.instrumentation.api.instrumenter.AttributesExtractor
-
Sets the
valuewith the givenkeyto theAttributesBuilderifvalueis notnull. - setAttribute(AttributeKey<T>, T) - Method in interface io.opentelemetry.instrumentation.api.tracer.AttributeSetter
- 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, InetSocketAddress) - Method in class io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes
- setNetPeer(SpanBuilder, InetAddress, 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(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(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<RESPONSE>) - Method in class io.opentelemetry.instrumentation.api.instrumenter.InstrumenterBuilder
-
Sets the
StartTimeExtractorand theEndTimeExtractorto extract the timestamp marking the start and end of processing. - shouldRecordException(Context) - Static method in class io.opentelemetry.instrumentation.api.servlet.AppServerBridge
-
Returns true, if servlet integration should record exception thrown during servlet invocation in server span.
- 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.
- 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. - SpanKindExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor or
SpanKind. - SpanLinkExtractor<REQUEST> - Interface in io.opentelemetry.instrumentation.api.instrumenter
-
Extractor of a span link 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
- 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) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpServerMetrics
- start(Context, Attributes) - 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.
- 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, String, long) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- startSpan(REQUEST, CONNECTION, STORAGE, Method) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- startSpan(REQUEST, CONNECTION, STORAGE, String) - Method in class io.opentelemetry.instrumentation.api.tracer.HttpServerTracer
- 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.HttpAttributesExtractor
-
Extracts the
http.status_codespan attribute. - statusFromHttpStatus(int) - Static method in class io.opentelemetry.instrumentation.api.tracer.HttpStatusConverter
- SupportabilityMetrics - Class in io.opentelemetry.instrumentation.api.internal
- SupportabilityMetrics.CounterNames - Class in io.opentelemetry.instrumentation.api.internal
- supports(Class<?>) - Method in interface io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategy
- 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.HttpAttributesExtractor
- 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.NetAttributesExtractor
U
- unregisterStrategy(AsyncSpanEndStrategy) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- unregisterStrategy(Class<? extends AsyncSpanEndStrategy>) - Method in class io.opentelemetry.instrumentation.api.tracer.async.AsyncSpanEndStrategies
- 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.
- 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, Supplier<String>) - 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 providedSupplierif 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 theSupplieris non-null. - updateSource(Context, ServerSpanNaming.Source) - Static method in class io.opentelemetry.instrumentation.api.servlet.ServerSpanNaming
-
Deprecated.
- url(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
- 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
- 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
- userAgent(REQUEST) - Method in class io.opentelemetry.instrumentation.api.instrumenter.http.HttpAttributesExtractor
V
- 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.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() - 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.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
W
- 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. - 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